de.kugihan.dictionaryformids.translation.normation

Started by zz85, 01. May 2007, 09:56:27

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

zz85

I couldn't compile so I had to made certain changes to de.kugihan.dictionaryformids.translation.normation

NormationGer.java
line 17
for (int charPos = 0; charPos < defaultNormatedWord.length(); ++charPos) {
         if (defaultNormatedWord.charAt(charPos) == '¤') { //removed Ã
            normatedWord.append("ae");
         }
         else if (defaultNormatedWord.charAt(charPos) == '¶') {
            normatedWord.append("oe");
         }
         else if (defaultNormatedWord.charAt(charPos) == '¼') {
            normatedWord.append("ue");
         }
         else if (defaultNormatedWord.charAt(charPos) == 'Ÿ') {
            normatedWord.append("ss");
         }
         else {
            normatedWord.append(defaultNormatedWord.charAt(charPos));
         }


NormationRus.java
line 17
char trongAm = '�'; // <--

Seems an invalid character is causing my editor not to save the file at all.

Gert

You need to set the UTF-8 encoding for the compiler. This is described in the README file which is ... oops, I just realize this file is not yet in CVS !! I need to put it there !

I just attached the README file with the description; see Note (1)

Greetings,
Gert

zz85

yeah, i changed the encoding for me in WTK25\wtklib\Windows\ktools.properties

Gert

I just added this information about the UTF-8 encoding on the developer page of our web site.

Gert