[email protected] wrote:
Hi!
> Your problem is, obviously, that Scid doesn't "understand" Italian! The
> PGN standard calls for using English symbols
Hm, I learned from Pascal that it doesn't actually enforce, it but
allows indeed for others.
> - though there exist a Tag
> for specifying alternative sets of piece-symbols. I seem to remember that
> these alternative piece-symbols are not implemented in the PGN-import
> functions,
... I fear you're right and I was wrong. Scid translates piece symbols
only for display. In import (pgnparse.cpp, l.765ff) it's actually
hardcode to english.
> and if your games contain comments (in Italian PGN-format) the
> conversion might easily become quite complicated:
> First it will be necessary to avoid filtering the TAG's, and then it will
> be necessary to filter the moves, but not the comments!
Hm. I think it is not sensible to do it without the context information
of PGN what denotes a move, like in the lines of code mentioned.
> I hope somebody with more knowledge of the inner workings of the
> PGN-implementations in Scid (and some knowledge of the available library
> functions for character-translation) has a better answer! But of course it
> would be VERY nice to have Scid perform as well as CB on this task!
Actually, if I look at the stanza in l.776 one could indeed add NLS
there if the language to use is known in the backend. I'm no expert
here, I fear.
--
Kind regards, / War is Peace.
| Freedom is Slavery.
Alexander Wagner | Ignorance is Strength.
|
| Theory : G. Orwell, "1984"
/ In practice: USA, since 2001
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users