in reply to Re: When is the utf8-flag turned on?
in thread When is the utf8-flag turned on?

I'm not using an utf8 locale, nor does I use 'use utf8'.
My strings do not contain > 8 bit characters, but they contain 8 bit characters (German "Umlaute" - ä, ö, ü, ß).

Replies are listed 'Best First'.
Re^3: When is the utf8-flag turned on?
by ysth (Canon) on Aug 20, 2004 at 23:23 UTC
    I'm not using an utf8 locale, nor does I use 'use utf8'.
    The comment about 'use utf8' here makes me think it's just possible you are mistaken. "Using a utf8 locale" isn't a perl thing, it's an operating system thing, and several OS's have taken to setting utf8 locales as a default. Check your environment variables LANG, LC_CALL, LC_CTYPE, and LANGUAGE.

    If that's not it, you'll have to dig a little bit into what happens to this variable; at what point does it get the utf8 flag turned on?