Dec 9, 2012, 10:50 AM
Post #2 of 2
OK, here is how I solved the matter:
Re: [degoor] Command Line Encoding Setting
[In reply to]
I saved bg.pl in all possible formats in the text editor: ANSI, Unicode, Unicode big endian, UTF-8, UTF-8+BOM.
When I saved the file as 'Unicode' and I tried
the Cyrillic letters appeared correctly.
Since chcp command showed that the code page used by the DOS prompt is 'cp866', I added after #!/perl line the following:
That solved the problem.
Thanks for your reading!