Requester problem

Discuss any general programming issues here

Requester problem

Postby ilbarbax » Wed Apr 26, 2017 12:32 pm

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
ilbarbax
 
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

Re: Requester problem

Postby p-OS » Wed Apr 26, 2017 1:29 pm

Save your .hws as UTF8 and it should work.
p-OS
 
Posts: 70
Joined: Tue Nov 02, 2010 12:56 am

Re: Requester problem

Postby ilbarbax » Wed Apr 26, 2017 1:32 pm

but UTF8 isn't the default in HV7? I will do some tests anyway thanks
ilbarbax
 
Posts: 77
Joined: Thu Apr 01, 2010 6:41 pm

Re: Requester problem

Postby p-OS » Wed Apr 26, 2017 3:11 pm

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...
p-OS
 
Posts: 70
Joined: Tue Nov 02, 2010 12:56 am


Return to General programming

Who is online

Users browsing this forum: Bing [Bot] and 1 guest