<?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>topic Re: character encoding in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034543#M93906</link>
    <description>Can you give an example how to use curses, or a link?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Jul 2007 01:30:27 GMT</pubDate>
    <dc:creator>CA1497567</dc:creator>
    <dc:date>2007-07-10T01:30:27Z</dc:date>
    <item>
      <title>character encoding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034541#M93904</link>
      <description>As far as I know C++ uses ANSI in order to represent its characters.  &lt;BR /&gt;How can I read a character in greek, obtain its unicode character and write it again as a string or as a character in console.&lt;BR /&gt;&lt;BR /&gt;I'm desperate with this issue. I have tried with wchar_t but I cannot find the way to use it properly and I cannot write my characteres in a terminal. &lt;BR /&gt;&lt;BR /&gt;Thanks you in advance.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jul 2007 17:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034541#M93904</guid>
      <dc:creator>CA1497567</dc:creator>
      <dc:date>2007-07-09T17:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: character encoding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034542#M93905</link>
      <description>Your problem doesn't stem from the language but rather with the display device. You need to understand that all the host computer does is send octets (or groups or octets in the case of wide characters) to the output device (terminal, printer, plotter, ...) and how those octets appear is solely a function of the output device itself.&lt;BR /&gt;&lt;BR /&gt;The typical way this is done is to use curses to select the appropriate alternate character set.</description>
      <pubDate>Mon, 09 Jul 2007 17:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034542#M93905</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-09T17:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: character encoding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034543#M93906</link>
      <description>Can you give an example how to use curses, or a link?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jul 2007 01:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034543#M93906</guid>
      <dc:creator>CA1497567</dc:creator>
      <dc:date>2007-07-10T01:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: character encoding</title>
      <link>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034544#M93907</link>
      <description>&lt;!--!*#--&gt;First of all, you need to set LANG appropriately.  Then try to read and write char strings.&lt;BR /&gt;&lt;BR /&gt;To read a character that's multibyte and convert to unicode, you must use mbtowc(3), or mbstowcs(3) for strings.&lt;BR /&gt;&lt;BR /&gt;To convert that wchar_t string to utf8, you would have to use iconv(3):&lt;BR /&gt;  cd1 = iconv_open("utf8", "ucs4");&lt;BR /&gt;  ret = iconv(cd1, &amp;amp;in, &amp;amp;inl, &amp;amp;out, &amp;amp;outl);</description>
      <pubDate>Tue, 10 Jul 2007 07:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/character-encoding/m-p/4034544#M93907</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-07-10T07:10:17Z</dc:date>
    </item>
  </channel>
</rss>

