in reply to Re: Coding for multiple Languages
in thread Coding for multiple Languages

The separate file is a perl file such as:-
$stringhello = 'Hello'; $stringlogin = 'Login';...
that's brought in with require lang.pl; I was referring to adding use utf8; to the top of that file. Wouldn't that do the same?

Replies are listed 'Best First'.
Re^3: Coding for multiple Languages
by ikegami (Patriarch) on Jan 03, 2008 at 15:41 UTC

    Yes. It can even be in other encodings using use encoding '...';.

    You still need to handle the output, though. The strings of characters need to encoded into strings of bytes using one of the methods I posted.