| Author |
Character Encoding
|
Biju Warrier
Greenhorn
Joined: Mar 31, 2003
Posts: 2
|
|
Kindly have a look at the below content and get back to me if u know the solution for this problem. Character Encoding Set. The default character encoding set of Windows > Box is windows-1252 and the default character encoding set of Solaris is > iso-8859-1. Currently what is happening is, we are getting some junk characters > in the letter content of Preview Letter screen / Edit screen, which we believe > is because of the character settings, as the data gets moved from Windows to > Solaris Box. We are not getting / seeing any special characters, when we open > the same html content in Windows Box, where DLSCOM resides. But, if we pull out > the same HTML in Solaris, we are getting these special characters. Though the > html generated in Windows Box, has the tag > > <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> > > I really don't know the character set it has, as part of its letter content is iso-8859-1 compliant. I believe it takes the system default > character encoding set, which is windows-1252. > > For ex:- '?/span>' which appears in the letter is because of one of these special character, why '?' is appearing and because of that > the SPAN tags is getting affected.
|
 |
Chris Baron
Ranch Hand
Joined: Mar 21, 2003
Posts: 1028
|
|
Hi Biju, you have to transform windows western european to iso-8859-1 to display special characters in the browser correctly. If you use JSP or Servlets this example should help: http://javaalmanac.com/egs/java.nio.charset/ConvertChar.html I believe to remember that the < is also a simple Quotation-Mark somewhere( ...was it France ?.. ).... ....i had a look here: http://selfhtml.teamone.de/html/referenz/zeichen.htm if you speak french: http://selfhtml.selfhtml.com.fr/html/reference/signes.htm ....Aaaand yes < ( Unicode 60 ) is something different than ‹ ( Unicode 8250 ) maybe this causes the ?-Prob. Then you have to change all Chars 8250 to 60 ... ähm somehow hth cb [ May 06, 2003: Message edited by: Christian Baron ]
|
 |
 |
|
|
subject: Character Encoding
|
|
|