DictionaryForMids Forum

Admins & Developer => General discussions => Topic started by: zz85 on 01. May 2007, 09:56:27

Title: de.kugihan.dictionaryformids.translation.normation
Post by: zz85 on 01. May 2007, 09:56:27
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.
Title: Re: de.kugihan.dictionaryformids.translation.normation
Post by: Gert on 01. May 2007, 18:57:28
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
Title: Re: de.kugihan.dictionaryformids.translation.normation
Post by: zz85 on 03. May 2007, 15:33:49
yeah, i changed the encoding for me in WTK25\wtklib\Windows\ktools.properties
Title: Re: de.kugihan.dictionaryformids.translation.normation
Post by: Gert on 05. May 2007, 17:41:22
I just added this information about the UTF-8 encoding on the developer page of our web site.

Gert