<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Windows vs Linux - character encoding in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219615#M962875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faraz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ISO-8859-1 (or Latin 1) character set does not contain the euro sign character. Windows typically uses CP1252 (or WinLatin1 or Windows code page 1252), which is an extension of ISO-8859-1 where they (ab)use some reserved control characters, e.g. 0x80 is used as the euro sign. The unicode hex value of the euro sign is 0x20AC. If you encode 0x20AC in UTF-8, it is represented as 3 bytes, 0xE2 0x82 0xAC to be precisely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the meta tags of your (X)HTML won't make a difference if the underlying encoding is not correct. Probably the files of your applications were created on a Windows box, using the default Windows character set CP1252 and then deployed on Linux. I suggest you convert the files itself to UTF-8. That can be done using a text editor like UltraEdit (my favourite!) or even Notepad (Save As and choose UTF-8 as the encoding).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck! Character encoding problems are often quite complex to solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Sigiswald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 May 2007 19:09:18 GMT</pubDate>
    <dc:creator>Sigiswald</dc:creator>
    <dc:date>2007-05-05T19:09:18Z</dc:date>
    <item>
      <title>Windows vs Linux - character encoding</title>
      <link>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaq-p/2219610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 WAS servers version 6.40 sp13. One on &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;windows server 2003&lt;/P&gt; and other on &lt;B&gt;&lt;P&gt;linux&lt;/P&gt;&lt;/B&gt;. I deploy the same application on both servers and that application displays a &lt;B&gt;&lt;P&gt;euro currency symbol &amp;#128;&lt;/P&gt;&lt;/B&gt; on the browser. The WAS server running on windows serevr 2003 is able to display the euro currency symbol properly but the server running on linux displays garbage instead &lt;B&gt;&lt;P&gt;(like this â&amp;#130;¬ ).&lt;/P&gt;&lt;/B&gt; I have tested all the browsers and it doesnt seem to be browser related.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application is built on JSF with XML style UTF-8 encoding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both servers have the default configuration and both OS have the default configurations as well. I tried to find the difference in server configs but couldn't find anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the header on all the pages.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;
&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;
&amp;lt;head&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 15:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaq-p/2219610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T15:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Windows vs Linux - character encoding</title>
      <link>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219611#M962871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faraz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use the encoding style, ISO 8859-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might help!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 15:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219611#M962871</guid>
      <dc:creator>prashil</dc:creator>
      <dc:date>2007-04-25T15:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Windows vs Linux - character encoding</title>
      <link>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219612#M962872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried almost all of the encoding styles on mets tags, nothing changed. Actually I also ran a packet sniffer and looked at the packets that are sent from the app server in linux and server sends (2E 2E 2E which is ... ) incase of Euro symbol. Hex for Euro symbol is 80. So in linux there seems to be something wrong in the conversion/handling of data values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows sends 80, which shows the correct symbol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 15:47:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219612#M962872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T15:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Windows vs Linux - character encoding</title>
      <link>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219613#M962873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Did you try the special euro character? &amp;amp; euro; (without the space). Some time ago we had this problem, and we solved this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eneko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 07:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219613#M962873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T07:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Windows vs Linux - character encoding</title>
      <link>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219614#M962874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I made my point clear. The problem is not only with Euro characters but with all the other non-english characters that are found in unicode. We are going to support multiple languages (French, german etc.) and I dont think its a wise decision to convert all these characters in their HTML equivalent (if they exist).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 13:07:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219614#M962874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T13:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Windows vs Linux - character encoding</title>
      <link>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219615#M962875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faraz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ISO-8859-1 (or Latin 1) character set does not contain the euro sign character. Windows typically uses CP1252 (or WinLatin1 or Windows code page 1252), which is an extension of ISO-8859-1 where they (ab)use some reserved control characters, e.g. 0x80 is used as the euro sign. The unicode hex value of the euro sign is 0x20AC. If you encode 0x20AC in UTF-8, it is represented as 3 bytes, 0xE2 0x82 0xAC to be precisely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the meta tags of your (X)HTML won't make a difference if the underlying encoding is not correct. Probably the files of your applications were created on a Windows box, using the default Windows character set CP1252 and then deployed on Linux. I suggest you convert the files itself to UTF-8. That can be done using a text editor like UltraEdit (my favourite!) or even Notepad (Save As and choose UTF-8 as the encoding).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck! Character encoding problems are often quite complex to solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Sigiswald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2007 19:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/windows-vs-linux-character-encoding/qaa-p/2219615#M962875</guid>
      <dc:creator>Sigiswald</dc:creator>
      <dc:date>2007-05-05T19:09:18Z</dc:date>
    </item>
  </channel>
</rss>

