"be consistent" | |
PerlMonks |
Re: Perl, DOS and encodingsby Anonymous Monk |
on Apr 29, 2020 at 23:43 UTC ( [id://11116251]=note: print w/replies, xml ) | Need Help?? |
Its simple, avoid "dos sessions", use perl
As you can see from dd output below, кебаб is кебаб Since perlmonks doesnt utf8 the browser converts to entities кебаб
Why avoid dos sessions, at least unicode ones? Because its complicated. At one time I had a handle on this knowledge but long before that decided its simpler/more portable to avoid unicode in filenames and shells How Command Line Parameters Are Parsed by David Deley
Quotes, Escape Characters, Delimiters - Windows CMD - SS64.com Re: Non asci character and system call Re^4: How can I get a Unicode @ARGV? How can I get a Unicode @ARGV? windows - How to make Unicode charset in cmd.exe by default? - Stack Overflow Re^2: Windows 7: fork in perl script spawns new cmd window Re: Parsing Windows CommandLine from Perl Re: eval NoOp on cmd.exe line expr
chcp can't do everything - Sorting it all Out - Site Home - MSDN Blogs http://stackoverflow.com/questions/10764920/utf-16-on-cmd-exe http://stackoverflow.com/questions/2182568/batch-script-is-not-executed-if-chcp-was-called
ConEmu - Handy Console Window download Re: Perl in Windows - STDOUT to file Behavior difference by run context Re^5: Out of date over <> and 5.10 (reproduce) Windows console mangles UTF8 output Re: Unicode again, in Win7 cmd (chcp 65001)
chcp can't do everything - Sorting it all Out - Site Home - MSDN Blogs https://illegalargumentexception.blogspot.com/2009/04/i18n-unicode-at-windows-command-prompt.html
In Section
Seekers of Perl Wisdom
|
|