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

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-21 Thread John Doe
John Delacour am Mittwoch, 21. Dezember 2005 01.19: > At 12:03 am + 21/12/05, John Delacour wrote: > > open TEST, $testfile; > > print TEST $testtext; > > close TEST; > > Sorry, that should be > > open TEST, ">$testfile"; or even better open TEST, '>'

Re: Matching encoded strings and file names

2005-12-20 Thread John Delacour
At 12:03 am + 21/12/05, John Delacour wrote: open TEST, $testfile; print TEST $testtext; close TEST; Sorry, that should be open TEST, ">$testfile"; of course. JD

Re: Matching encoded strings and file names

2005-12-20 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). ...Now, this fails, even though when I look a