From: Craig B. <cba...@us...> - 2006-02-13 15:35:06
|
Guillaume Filion writes: > Yep, that did the trick, I just added > binmode STDOUT, ":utf8"; > on top of cgi-bin/BackupPC_Admin and it looks like everything works. Unfortunately I don't think the file names will display correctly with a utf8 output filter (unless they are just ascii). I need to figure out the right way to handle both file names and the language strings. > So I'd prefer to allow each language file to specify their own charset. > > That's what would be easier for me, but I'm not sure if that's what > would be best for the project. To be fair, I'm not even sure if > switching to utf8 is a good idea. I had written a long and somewhat > off-topic rant about this, but I'll refrain from posting it right now. > I'll keep thinking about unicode and read comments from others before > giving a final opinion. To avoid more runtime conversion, how about makeDist converts the language files when a release is created? The drawback is that when you edit a non-utf8 language file for development you will need to manually run iconv to see the changes correctly. Craig |