Different results about urlencode(name of file) and detailed files
Posted: Sun Sep 09, 2018 4:52 pm
Hi All
I get a different results if i use name of file (by script or copy/paste from finder) or if I typed it directly in message box (OSX 10.13, LC indy 9.0)
Case name of file or copy/paste from finder
put urlencode("accordéon") = "accorde%3Fon"
Chartonum of "accordéon" = 97,99,99,111,114,100,63,111,110,46,112,110,103
Case name typed with keyboard in message box or from detailed files
put urlencode("accordéon") = "accord%8Eon"
Chartonum of "accordéon" = 97,99,99,111,114,100,142,111,110,46,112,110,103
It seems numtochar(63) = ? is used instead 142 = é
Does that what is expected ?
Best regards
Jean-Marc
I get a different results if i use name of file (by script or copy/paste from finder) or if I typed it directly in message box (OSX 10.13, LC indy 9.0)
Case name of file or copy/paste from finder
put urlencode("accordéon") = "accorde%3Fon"
Chartonum of "accordéon" = 97,99,99,111,114,100,63,111,110,46,112,110,103
Case name typed with keyboard in message box or from detailed files
put urlencode("accordéon") = "accord%8Eon"
Chartonum of "accordéon" = 97,99,99,111,114,100,142,111,110,46,112,110,103
It seems numtochar(63) = ? is used instead 142 = é
Does that what is expected ?
Best regards
Jean-Marc