Unicode Issue in Option Menu Button

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Unicode Issue in Option Menu Button

Post by endernafi » Sat Mar 23, 2013 3:37 pm

Hello Dear LiveCoders,

I've developed 17 apps with LiveCode and the unicode has been always an issue.
I wonder why runRev doesn't bring a total solution for this.
There are so many developers around there whose native language is not english,
thus developing localized apps via LiveCode.
Isn't this a pre-historic issue, I mean which modern development platform doesn't support utf-8 natively?
Which one does need continuous conversions?

I could solve all the unicode related problems in my iOS apps,
but at my current project I'm stuck.
This is not a windows-specific problem, yet I'm posting here because my app is for windows.

I have multiple option menu buttons which consist different categories.
One should add or remove categories selecting the appropriate item in the button.
Here is a sample stack:
unicodeOptionMenu.zip
(1.12 KiB) Downloaded 346 times
It works fine with english but when I tried to enter non-ascii chars like "ç,ş,ğ,ı,ö,ü";
it got all messed up.
And I couldn't figure out how :oops:

Any help much appreciated, thank you...


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: Unicode Issue in Option Menu Button

Post by endernafi » Sat Mar 23, 2013 7:38 pm

Solved by Mark Schonewille.
The problem was in the native Ask Dialogue.
I've made my own dialogue window and retrieved the input of user.
It works fine now.


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

Post Reply