chars changed in a fld

Yves COPPE yvescoppe at skynet.be
Sat Nov 30 22:11:10 CET 2013


Hello,

Another question about the same subject
when you import a text with : put url (« File: »..)
is it possible to know if the text is plain text or UTF8 encoded ?

Thanks.

Greetings.

Yves COPPE
yvescoppe at skynet.be

Le 30 nov. 2013 à 22:00, Yves COPPE <yvescoppe at skynet.be> a écrit :

> Hello Monte,
> 
> Works fine !
> thanks !
> 
> Greetings.
> 
> Yves COPPE
> yvescoppe at skynet.be
> 
> Le 30 nov. 2013 à 21:40, Monte Goulding <monte at sweattechnologies.com> a écrit :
> 
>> 
>> On 01/12/2013, at 7:13 AM, Yves COPPE <yvescoppe at skynet.be> wrote:
>> 
>>> What’s the problem ?
>> 
>> Sounds to me like it's been saved as UTF8. Try:
>> set the unicodeText of field "whatever" to uniEncode(url ("binfile:"&yourFilePath),"UTF8")
>> 
>> or
>> 
>> set the text of field "whatever" to uniDecode(uniEncode(url ("binfile:"&yourFilePath),"UTF8"),"ANSI")
>> 
>> Cheers
>> 
>> --
>> Monte Goulding
>> 
>> M E R Goulding - software development services
>> mergExt - There's an external for that!
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list