Page 1 of 1

Requester problem

Posted: Wed Apr 26, 2017 12:32 pm
by ilbarbax
I got a problem on the systemrequest (and moai.request too) using the custom language characters.

For example using conventional characters
Local res = SystemRequest("", "blablabla","Si|No",#REQICON_WARNING)
I get the two required buttons Si and No

instead if I use the "ì" (asci 204) character typical for the Italian language fot the word Sì
Local res = SystemRequest("", "blablabla","Sì|No",#REQICON_WARNING)
I get just one button with the label P?o

PS using latest HV7 + Rapagui 1.1
PS under windows I have a slightly different behavior. I get two buttons but the first one is blank

Thanks

Re: Requester problem

Posted: Wed Apr 26, 2017 1:29 pm
by p-OS
Save your .hws as UTF8 and it should work.

Re: Requester problem

Posted: Wed Apr 26, 2017 1:32 pm
by ilbarbax
but UTF8 isn't the default in HV7? I will do some tests anyway thanks

Re: Requester problem

Posted: Wed Apr 26, 2017 3:11 pm
by p-OS
HW7 exspects UTF8, but maybe the Editor (or older HW IDE) you used to write it saved not in UTF8 ? Or copied/pasted from another Editors Window...