diacritical char in folder name

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

diacritical char in folder name

Post by jmburnod » Fri Jan 13, 2012 4:23 pm

Hi All,

I have one folders with diacritical char in its name.
When i get the name of these folders it return

“Barnab%8E” for “Barnabé”

Is there a way to avoid this ?

Best regards

Jean-Marc
https://alternatic.ch

macnomad2
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 63
Joined: Sat Oct 28, 2006 10:04 pm

Re: diacritical char in folder name

Post by macnomad2 » Fri Jan 13, 2012 5:18 pm

I would use URLdecode and URLencode
it works for FTP and HTTP URLs and it should work for files/folders

Bonne année, Barnabé
Georges

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: diacritical char in folder name solved

Post by jmburnod » Fri Jan 13, 2012 5:45 pm

Hi Georges,

Yes,
put URLDecode("Barnab%8E") work
It return "Barnabé"

Merci et bonne année aussi

Jean-Marc
https://alternatic.ch

Post Reply