Closed AlexYukikaze closed 10 years ago
Can you please check whether the file is encoded in UTF-8?
To check this in Eclipse, right click on the file and choose Properties
. Then at the bottom the Text file encoding
should be set to Default (inherited from container: UTF-8)
.
When I try to change the encoding to UTF-8 print(cyrillic) prints a blank line
init
print(GetAbilityName('AHfs'))
print("Огненный столб")
print("===========================") // separator
Afaik changeing the file isn't enough, try out this: Windows > Preferences > General > Workspaces, set "Text file encoding" to "Other : UTF-8"
package EncodingTest
init
print("==================")
print("= "+GetAbilityName('AHfs') + " =")
print("==================")
print("= Огненный столб =")
print("==================")
result: Hmm... :(
Hm, can you please send me a map where cyrillic characters are working in Jass code? Then I can compare that with the output of Wurst.
I cannot even get the characters to work in the normal world editor.
Do you know if it worked with an older version of Wurst?
Hm, unfortunately I cannot test it. In my WC3 version it does not even show the characters in the pure Jass version you uploaded.
So I have just tried to adjust the encoding of the war3map.j now, maybe you can try to update (build should be ready in ca 10 minutes) and see if it works.
Thanks, it's works
Now
print(some Cyrillic String)
doesn't work properly, for example