textEncode textDecode bug
Posted: Sat Mar 12, 2016 9:32 am
i'm developing an app that synchronize data between ios and windows.
With the 6.x version livecode i used unidecode uniencode to save data to database, it worked pretty well.
but now it's, if i save something from ios with textencode the accents will be different than if i save from windows.
For example
if i save word "Férfi" from windows i get "Férfi" which is corrent, and its totally the same if i save with unidecode()
but from ios i get "F©Ã©rfi" in my database.
So when i save something from ios and then i use textdecode on ios i get back the "Férfi" but on windows it won't be good, and if i save something from windows, it'll be good on windows, but on IOS it'll be "Frfi" without accents.
Unfortunatelly it's the same if i use unidecode command on 7.x version, on 6.x version it's still working but i need 7.x versions cause there are many new functions for ios i would use.
ty
With the 6.x version livecode i used unidecode uniencode to save data to database, it worked pretty well.
but now it's, if i save something from ios with textencode the accents will be different than if i save from windows.
For example
if i save word "Férfi" from windows i get "Férfi" which is corrent, and its totally the same if i save with unidecode()
but from ios i get "F©Ã©rfi" in my database.
So when i save something from ios and then i use textdecode on ios i get back the "Férfi" but on windows it won't be good, and if i save something from windows, it'll be good on windows, but on IOS it'll be "Frfi" without accents.
Unfortunatelly it's the same if i use unidecode command on 7.x version, on 6.x version it's still working but i need 7.x versions cause there are many new functions for ios i would use.
ty