From: Daniel DeLorme Date: 2007-12-03T10:55:44+09:00 Subject: Re: Unicode in Regex Greg Willits wrote: > So, this /^[a-zA-Z\xE4]*?&/u will validate that a string is allowed > to have an ä in it. Perfect. If that actually works, it means you are really using ISO-8859-1 strings, not UTF-8. > utf_accents = '\xC0\xC1\xC2\.......' Nope, that's not UTF-8. UTF-8 characters ÀÁÂ would look like utf_accents = "\xC3\x80\xC3\x81\xC3\x82..." Dan