[email protected] wrote:
Hi!
> Good. Your friend saved the pgn in cp-1250 (windows?) and you have to convert
> this to utf-8
cp-1250 is Windows, indeed. It might be worth while to hack together a
small shell script converting cp-1250 to UTF-8. Something like
----------------------------------------------------------------
#!/bin/sh
iconv -f cp1250 -t utf-8 $1 -o `basename $1 .pgn`_utf-8.pgn$out
----------------------------------------------------------------
might do converting in.pgn to in_utf-8.pgn.
> There are many programs for converting (convmv) available on internet for
> windows and linux.
I think the canonical tool these days is iconv, it should even be
available by default.
>> @Franz: YES! the encoding in your attached Bildschirmfoto2.png is
>> correct slovak! it is exactly how it should look like! great - now how
>> did you manage this, and can you show me how to?
>>
>> @Alexander Wagner: no, the characters in your attached funnychr.png are
>> exactly the wrong output i am getting here too.
Well, that's the mess with code pages. If you assume it is UTF-8 and
treat it as UTF-8 but it's cp-1250 instead you get a lot of funny
things. However, if you can't read the language you don't even notice
that something is wrong ;)
Anyway, nice that the problem is solved :)
--
Kind regards, / War is Peace.
| Freedom is Slavery.
Alexander Wagner | Ignorance is Strength.
|
| Theory : G. Orwell, "1984"
/ In practice: USA, since 2001
------------------------------------------------------------------------------
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users