Teach Tcl Latin 1

Description

Although libcdg can deal with all members of the iso-latin-1 character set, XCDG cannot display all of them. For instance, neither the xcdg shell nor the tree editor can display the sentence

§10 regelt den Export von 10µm-Strukturen.

correctly; the output is always

?10 regelt den Export von 10?m-Strukturen.

Comments

I investigated this bug, but I couldn't notice the same failure. Maybe this is a local problem? I used inputwordgraph to add a word including µ and § and it was correct in the table and also in the tree after frobbing. Maybe, it is also possible that the bug doesn't exist any more now that inputwordgraph uses the tokenizer first? Please test whether the error still occurs in your environment...
-- MarcPaepper on 23 Nov 2005, 10:27:39

Here's how to reproduce:

cdg> inputwordgraph Das Gerät kostet £10.
INFO: wordgraph id: wordgraph0, #arcs: 5
cdg> wordgraph wordgraph0
wordgraph2 : Das, Gerät, kostet, ?10, .;
cdg>

Obviously Tcl is somehow cabable of dealing with ä correctly, but not £. I very much suspect that the Tcl developers somehow hardcoded partial support for German umlauts into their language after someone complained about it, but not for all the other characters that differ betwee iso-latin1 and UTF8, so we must do it ourselves.

-- KilianAFoth on 04 May 2006, 10:08:50

What is the locale setting in your environment? Try a different one that contains the chars you need.
-- MichaelDaum on 04 May 2006, 10:25:35

 

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback