Thanks for the "code" suggestion.
I forgot to delete the contents of line 16 in the script before posting it. I apologize; without replacing [0] with 1 it wouldn't even write lines read from array.
My text editor is set to "Central European (cp1250)": when I open the script for example in Notepad++, MS Word and MS Excel the Slovenian characters are written correct.
I tried what you suggested:
$SheetOut->write(0,0,"ČčŠšŽž"); $SheetOut->write(1,0,encode("cp1250",$Test[0]->{Col1}));
In Xls file the first line is written correct, the second one not.
Why are characters defined as string (line 1) correct and those read from array (line 2) not correct?
Are there two or more different possible # characters in#!/usr/bin/perl and by Murphy I use the wrong one or something? Just kidding. :/
In reply to Re^4: Slovenian characters problem
by Anonymous Monk
in thread Slovenian characters problem
by JackVanRamars
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |