Not English letters in the MessageBox
Posted:
Wed Oct 18, 2017 7:23 pm
by shad
Hello Balazs!
I am try to add MessageBox in to the macro. The message on the Russian language looks like abracadabra.
English - fine.
How can I solve this?
Thank you!!
Re: Not English letters in the MessageBox
Posted:
Wed Oct 18, 2017 8:39 pm
by cncdrive
Hi Andrew,
The Messagebox is a Windows/.Net built in function, so if the text does not appears correctly when you calling MessageBox.Show is not an issue of the UCCNC, but something to do with Windows or the .NET framework.
Unfortunately I never studied how Windows handling different charactersets, so I don't really know how it handles the Cyril charset.
I also can't check this at the moment, because I don't have a Russian Windows and last time when an issue with a charset was reported (I think it was Korean probably) then I've learnt that installing the language pack is not the same as using an originally Korean Windows. I guess that the same applies for Russian language pack and originally Russian Windows.
Maybe you can post some printscreens and then I will try to read after what could be the issue, I mean seeing how the text appears might help for me to know what to "google" after.
Re: Not English letters in the MessageBox
Posted:
Thu Oct 19, 2017 6:23 am
by shad
Hello Balazs!
OK, I will try to search any information about this too.
Inside plugin all works correctly.
Re: Not English letters in the MessageBox
Posted:
Fri Oct 20, 2017 9:26 am
by shad
Solved - I am change encoding from UTF-8 to ANSI in the macros file. Works perfect.