- char ch=xitle[s]&0xff;
- if (ch==0x5c) {
- char ch1=xitle[s+1]&0xff;
- char ch2=xitle[s+2]&0xff;
- char ch3=xitle[s+3]&0xff;
- char ch4=xitle[s+4]&0xff;
- s+=4; // next character
- char a=0;
- if ((ch1==0x27)&&(ch2==0x66)&&(ch3==0x36)) { title[d++]='ö'; a=1; }
- if ((ch1==0x27)&&(ch2==0x65)&&(ch3==0x34)) { title[d++]='ä'; a=1; }
- if ((ch1==0x27)&&(ch2==0x66)&&(ch3==0x63)) { title[d++]='ü'; a=1; }
- if ((ch1==0x27)&&(ch2==0x64)&&(ch3==0x36)) { title[d++]='Ö'; a=1; }
- if ((ch1==0x27)&&(ch2==0x63)&&(ch3==0x34)) { title[d++]='Ä'; a=1; }
- if ((ch1==0x27)&&(ch2==0x64)&&(ch3==0x63)) { title[d++]='Ü'; a=1; }
-// if (a==0)
-// printf("!!!!! %04X %04X %04X %04X! \n",ch1,ch2,ch3,ch4);
- } else {
- title[d++]=ch;
- s++;
- }
+ wxChar ch=xitle[s]&0xff;
+ if (ch==0x5c) {
+ wxChar ch1=xitle[s+1]&0xff;
+ wxChar ch2=xitle[s+2]&0xff;
+ wxChar ch3=xitle[s+3]&0xff;
+ s+=4; // next character
+ if ((ch1==0x27)&&(ch2==0x66)&&(ch3==0x36)) { title[d++]=_T('ö'); }
+ if ((ch1==0x27)&&(ch2==0x65)&&(ch3==0x34)) { title[d++]=_T('ä'); }
+ if ((ch1==0x27)&&(ch2==0x66)&&(ch3==0x63)) { title[d++]=_T('ü'); }
+ if ((ch1==0x27)&&(ch2==0x64)&&(ch3==0x36)) { title[d++]=_T('Ö'); }
+ if ((ch1==0x27)&&(ch2==0x63)&&(ch3==0x34)) { title[d++]=_T('Ä'); }
+ if ((ch1==0x27)&&(ch2==0x64)&&(ch3==0x63)) { title[d++]=_T('Ü'); }
+ } else {
+ title[d++]=ch;
+ s++;
+ }