On Wed, Nov 19, 2003 at 04:23:12PM -0000, martin@xanalys.com (via RT) wrote: > Calling index() after calling rindex() when LANG is en_GB.UTF-8 can give > non-deterministic results. In particular, index() will return the wrong value > unless a dummy call to index() with position 0 is made first. Thanks for the report, and sorry for the late reply. Perl 5.8.0 and .utf8 locales didn't work together well; this has been fixed in Perl 5.8.1 onwards. Regards, Dave. -- Spock (or Data) is fired from his high-ranking position for not being able to understand the most basic nuances of about one in three sentences that anyone says to him. -- Things That Never Happen in "Star Trek" #19Thread Previous