Export issue unidecode

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Export issue unidecode

Post by JosepM » Sat Jun 03, 2017 10:28 pm

Hi,

I need help so I have a big problem that maybe someone can help me.

I use Quartam Reports as reporting tool in one applications. When I preview the report, all the data are fine and print ok, but if you export to Excel XML, CSV all the accents are wrong and are showed wrong.

I have my data UTF8, so from the report I use (I can use the livecode functions)
I'm on Livecode 4.6.4, I know is a old version, but I can't upgrade now.

unidecode(uniencode(XXXXX_field_name,"UTF8")) ---> this show ok but export is wrong
unidecode(uniencode(XXXXX_field_name,"UTF8"),"UTF8") ---> this show wrong but export is OK

I know that is Quartam Reports but the functions are Livecode.

How can I show the data correct and when I the export also correct?


Salut,
Josep M

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Export issue unidecode

Post by MaxV » Tue Jun 27, 2017 11:37 am

Try with urlencode and urldecode functions.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”