this patch includes :
1. suport multibyte-characters in command line.
2. fix multibyte character selection at diff text window.
when select multibyte text at diff text window, text position was not correct.
this patch fixe it.
fix multibyte character selection at diff text window
patch for 1-3
fix right to left language support.
test file (shift-jis encoded.)
please use fix_multibyte2.patch instead of fix_multibyte.patch .
fix_multibyte2.patch has better support for multibyte font, and less modify.
fix multibyte character selection at diff text window.
Another patch to fix this issue:
I think this is straight-forward solution for this kind of problem.
This seems to be fixed in 0.9.98 thanks to the migration to QTextLayout.