translate / virtaal

Easy-to-use and powerful offline translation tool
https://virtaal.translatehouse.org
GNU General Public License v2.0
298 stars 57 forks source link

Virtaal 0.6.1 doesn't support Unicode #1496

Open vuhung opened 14 years ago

vuhung commented 14 years ago

Virtaal 0.6.1 doesn't support Unicode

friedelwolff commented 14 years ago

To the best of our knowledge Virtaal supports Unicode in all functionality. Can you provide information on specific features that don't support Unicode? What did you do, and how did it fail to support Unicode? Hopefully we can solve this easily.

vuhung commented 14 years ago

This probably due to a conflict between unikey (unikey.sf.net, a Vietnamese keyboard) and virtaal.

I will invest a little and get back later.

Please leave it as new.

friedelwolff commented 14 years ago

I guess it could be Unikey. Can you try to select one of the Vietnamese input methods on the right-click menu -> Input Methods? You might need to disable Unikey as well. If that works, then I guess you have a temporary solution, and we can be reasonably sure that the issue is with the interaction between Unikey and Virtaal.

vuhung commented 14 years ago

I use Unikey 3.6.3, encoding set to Unicode, input method set to Telex When I open a po file with virtaal, input "aa" (so expected display in virtaal is "â") but the actual result is a blank, i.e. "â" disperses in Virtaal.

However, If I copy "â" to clipboard and paste it into virtaal, the character "â" displays well.

So the reason is the interaction between virtaal and Unikey.

Please shed a light on how to investigate the issue deeper.

friedelwolff commented 14 years ago

Can you please check if things work correctly if you select the Telex input method from right clicking in the translation, and selecting it under "Input Methods"?

friedelwolff commented 14 years ago

Hi. Have you been able to try the built-in Telex input method in Virtaal as I describe in comment 5?

friedelwolff commented 14 years ago

I only notice now that our Windows version only provides VIQR, not Telex. Can you see if VIQR works correctly for you, and then maybe try to use Unikey combined with the Windows IME input method from the Virtaal context menu (when you right click in the text area)?

friedelwolff commented 13 years ago

I'd like to solve this issue if possible, but I think we still need more information. Can you help us to identify what exactly is not working based on the previous comments in this bug report? At the moment I'm not sure how to debug this at all, so I can't make any progress on this.

Nasdav commented 7 years ago

I've tried to open a po file that uses a UTF-8 encoding but I get an the following error in virtaal.exe.log ERROR:root:MainController.open_file(filename="L:filepath\filename.po", uri="") Traceback (most recent call last): File "virtaal\controllers\maincontroller.pyo", line 208, in open_file File "virtaal\controllers\storecontroller.pyo", line 225, in open_file ValueError: The file contains nothing to translate. I'm using 0.7.1 version. and when I turned the file's encoding back to ANSI, it was opened normally

friedelwolff commented 7 years ago

Hi @Nasdav. It seems you are posting your support request in a bug about Unikey typing in Vietnamese. I assume you wanted to put that in a separate bug.

You will have to provide substantially more information in the new bug report, though. Please provide the file, and explain exactly where and how you "turned the file's encoding". Please be very specific.