on 10-21-2009 7:59 AM
Hi All
I have the requirement where I need to convert Umlauts(special characters in foreign language like Ü,Ö )to plain simple english like ue , oe.
I use the following code to do the conversion:
String specialChar[]={"Ä","Ö","ö","ü","ä","Ü","
",":",":"};
String htmlChar[]={"AE","OE","oe","ue","ae","UE","","",""};
for(int i=0;i);
}
This work fine while testing in Eclipse and the umlauts get converted to english alphabets.
However after importing to PI as an archive, it looks like :
String specialChar[]={"�","�","�","�","�","�","
",":",":"};
String htmlChar[]={"AE","OE","oe","ue","ae","UE","","",""};
for(int i=0;i);
}
And if we test it in Interface mapping,No conversion happens.
Can anyone tell me why it fails in PI and how to resolve this issue?
Hi,
how do you open the things you wrote:
String specialChar[]={"�","�","�","�","�","�","",":",":"};
Is this the *.java?
If so, don't mind it is like that in the frontend. Your mapping should work OK.
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.