From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2006-01-25T00:47:55+09:00 Subject: Re: remove non-ASCII characters in a string Dave Burt wrote: > ry the code below, translated from > http://stuffofinterest.com/misc/utf8-about.html > > There may be a potential problem matching over character boundaries, but I > think UTF-8's unique starting bytes avoid the issue. So this should work. > For long strings, it could be slow. If I wanted speed, I'd probably do the > same thing in C and make it an extension. thanks a lot this works great even with ligatures, i don't need speed because i'll use that only for file names... -- une b�vue