Re: Matching encoded strings and file names

2005-12-23 Thread John Delacour
At 10:46 am +0100 20/12/05, [EMAIL PROTECTED] wrote: ...Let's say I have a txt file which contains a list of strings. Some of these strings contain characters encoded in this fashion: R\xC3\xA9union (\xC3\xA9 is one character - e with an accent). To be more specific \xC3\xA9 represents in es

Re: Matching encoded strings and file names

2005-12-23 Thread John Delacour
At 7:24 pm + 23/12/05, John Delacour wrote: Others may have some magic solution but to me it seems you have to convert the escaped original text to the utf-8 bytes it intends, convert these to UTF-16BE and then produce one file with the contents in precomposed form and another in decompose