in reply to unicode DWIM?

Could you give some examples of the commandline arguments you're having trouble with? I'm not that familiar with locale, but this is something that's given me trouble myself, and I'd like to learn more.

Personally, I've had trouble with dos command line arguments that contain special german characters. My workaround was to save the files in "OEM" using editpad. (Whatever "OEM" means.) I've wanted a locale based solution for a while, but since I don't really understand locale... it's on the back burner.

I'm not sure if this is the same sort of problem you're having.

Replies are listed 'Best First'.
Re^2: unicode DWIM?
by Sec (Monk) on Feb 24, 2005 at 11:13 UTC
    I am talking about non-us-ascii characters. Such as the german umlauts äöü - they are passed on the command line encoded in the current locale of the terminal (as one would expect), but i haven't been able to find a sane way to tell perl that "stdin, stdout and commandline" are in the locale that the user has set.
      Würde mich auch mal interessieren wie man diese blöden Umlaute sauber hinkriegt unter Windows