Decode xml-data of mac-adressbook

R. Hillen mail at richard-hillen.de
Thu Jan 11 15:24:12 EST 2007


Hello list,

on Mac OSX I try to get the contents of the adressbook;
for each adress there is a xml-file in /Users/..../Library/Caches/ 
com.apple.AdressBook/Metadata.

The  xml-file starts with
<?xml version="1.0" encoding="UTF-8"?>

My adresses are german ones, so there are "umlauts" like ŠšŸ...
If in the adressbook the city is "HŸrth" and I read the file contents by
put url("file:/" & xmlfilename) into tdata,
I get "Hürth" instead.

As I don«t know enough about encoding, may you give me a tip, what to  
do to get the right chars?

Thank you.

Richard.


More information about the use-livecode mailing list