<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: GSM-7 Encoding with the GNU iconv library</title>
	<atom:link href="http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/feed/" rel="self" type="application/rss+xml" />
	<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/</link>
	<description>A blog about Internet protocols, mobile technologies and things remotely related</description>
	<lastBuildDate>Sun, 13 Nov 2011 12:43:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Marcin</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-3684</link>
		<dc:creator>Marcin</dc:creator>
		<pubDate>Tue, 05 Apr 2011 11:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-3684</guid>
		<description>You made my day. Thanks!</description>
		<content:encoded><![CDATA[<p>You made my day. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1642</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Wed, 03 Nov 2010 02:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1642</guid>
		<description>Hello Jeroen,

Thanks for theses precious infos !
I have troubles to modify the iconv library from your post.
(I&#039;m running a X86_64 Ubuntu 10.04 if it matters).
After &#039;make&#039; I&#039;m told : In file included from ./iconv.c:108:
./encodings.def:43: error: ‘ei_gsm7_oflags’ undeclared here (not in a function)
Might you assist a bit ?
Thanks in advance for your time and efforts !</description>
		<content:encoded><![CDATA[<p>Hello Jeroen,</p>
<p>Thanks for theses precious infos !<br />
I have troubles to modify the iconv library from your post.<br />
(I&#8217;m running a X86_64 Ubuntu 10.04 if it matters).<br />
After &#8216;make&#8217; I&#8217;m told : In file included from ./iconv.c:108:<br />
./encodings.def:43: error: ‘ei_gsm7_oflags’ undeclared here (not in a function)<br />
Might you assist a bit ?<br />
Thanks in advance for your time and efforts !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Minhaj</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1625</link>
		<dc:creator>Minhaj</dc:creator>
		<pubDate>Wed, 16 Jun 2010 10:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1625</guid>
		<description>Hello JEROEN
 Your article about concatenated sms sending is just awesome , but I would like to know that how do I get my padding bits added in my GSM-7 Character set in java , I have get my PDU but dont know how to add the padding bits finally after getting the PDU</description>
		<content:encoded><![CDATA[<p>Hello JEROEN<br />
 Your article about concatenated sms sending is just awesome , but I would like to know that how do I get my padding bits added in my GSM-7 Character set in java , I have get my PDU but dont know how to add the padding bits finally after getting the PDU</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1619</link>
		<dc:creator>Felix</dc:creator>
		<pubDate>Wed, 12 May 2010 19:29:50 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1619</guid>
		<description>Hi.

Does anyone got the php PDU file?. I&#039;m trying with SMS. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>Does anyone got the php PDU file?. I&#8217;m trying with SMS. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lakshmi chinta</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1618</link>
		<dc:creator>Lakshmi chinta</dc:creator>
		<pubDate>Tue, 11 May 2010 22:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1618</guid>
		<description>Hey,

Can you please explain what is  &quot;n&quot; which is a parameter to gsm7_wctomb(conv_t conv, unsigned char *r, ucs4_t wc, int n)</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>Can you please explain what is  &#8220;n&#8221; which is a parameter to gsm7_wctomb(conv_t conv, unsigned char *r, ucs4_t wc, int n)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: siva prasad</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1604</link>
		<dc:creator>siva prasad</dc:creator>
		<pubDate>Sat, 13 Mar 2010 19:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1604</guid>
		<description>Hai Franco,
  plz send me the php fuctions for encoding and decoding GSM-7 format.
My e-mail:siva2prasad2007@yahoo.co.in</description>
		<content:encoded><![CDATA[<p>Hai Franco,<br />
  plz send me the php fuctions for encoding and decoding GSM-7 format.<br />
My e-mail:siva2prasad2007@yahoo.co.in</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeroen</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1373</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Thu, 10 Sep 2009 03:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1373</guid>
		<description>Geir,

I had sent an email to that mailing list right after I published this article. I got a response saying that libiconv is more for streaming applications and SMS messages are short and a simpler API is more appropriate. It was also noted that some later standards on GSM-7 encodings include language specific escape codes for diffent western alphabets (like Turkish), in this case my algorithm would not work.... I&#039;ll continue to use my version of libiconv in SMS software I write and will probably address the language specifica escape codes and update the article for this. If anything; though this article I complied with the LGPL requirements to publish any enhancements.

Regards,
Jeroen</description>
		<content:encoded><![CDATA[<p>Geir,</p>
<p>I had sent an email to that mailing list right after I published this article. I got a response saying that libiconv is more for streaming applications and SMS messages are short and a simpler API is more appropriate. It was also noted that some later standards on GSM-7 encodings include language specific escape codes for diffent western alphabets (like Turkish), in this case my algorithm would not work&#8230;. I&#8217;ll continue to use my version of libiconv in SMS software I write and will probably address the language specifica escape codes and update the article for this. If anything; though this article I complied with the LGPL requirements to publish any enhancements.</p>
<p>Regards,<br />
Jeroen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geir</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1368</link>
		<dc:creator>Geir</dc:creator>
		<pubDate>Tue, 08 Sep 2009 14:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1368</guid>
		<description>if you haven&#039;t already done so; would you please consider submiting your changes to the libiconv project? Their mailing list:

bug-gnu-libiconv @ gnu.org -- for discussing bugs and features of GNU libiconv. An archive for this list can be found at http://lists.gnu.org/archive/html/bug-gnu-libiconv/</description>
		<content:encoded><![CDATA[<p>if you haven&#8217;t already done so; would you please consider submiting your changes to the libiconv project? Their mailing list:</p>
<p>bug-gnu-libiconv @ gnu.org &#8212; for discussing bugs and features of GNU libiconv. An archive for this list can be found at <a href="http://lists.gnu.org/archive/html/bug-gnu-libiconv/" rel="nofollow">http://lists.gnu.org/archive/html/bug-gnu-libiconv/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franco</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1291</link>
		<dc:creator>Franco</dc:creator>
		<pubDate>Mon, 20 Jul 2009 23:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1291</guid>
		<description>Jeroen:
Thanks again.
You wrote 22 lines full of characters and of a huge amount of helpful knowledge (unmeasurable).
Regards
Franco</description>
		<content:encoded><![CDATA[<p>Jeroen:<br />
Thanks again.<br />
You wrote 22 lines full of characters and of a huge amount of helpful knowledge (unmeasurable).<br />
Regards<br />
Franco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeroen</title>
		<link>http://mobiletidings.com/2009/07/06/gsm-7-encoding-gnu-libiconv/comment-page-1/#comment-1290</link>
		<dc:creator>Jeroen</dc:creator>
		<pubDate>Mon, 20 Jul 2009 16:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://mobiletidings.com/?p=279#comment-1290</guid>
		<description>There are standards for compressing and decompressing SMS messages, but a.f.a.i.k. nobody has implemented them. There are plenty of SMS applications for various smart-phones that will compress SMS messages, but they all require the same app to be running on the sender and the receiver&#039;s phone.

I don&#039;t get your question of &#039;which is best&#039;... Do you mean for use by SMS applications?
- UCS-4 uses 4 octets per Unicode character. This is the most wasteful. All well-known character sets around the world can be coded with 2 octets (UCS-2).
- UCS-2 uses 2 octets per Unicode character. This is wasteful for messages that consist largely of ASCII characters (as used in US and Western European languages). For these messages UTF-8 is more efficient.
- UTF-8 is an encoding of UCS-2 and UCS-4. If used with UCS-4 it will use 1-5 octets per character, if used with UCS-2 it will use 1-3 octets per character. If the you&#039;re dealing with text in Chinese or Japanese, most characters would require 3 octets if you encode them using UTF-8. For these languages UCS-2 is the most efficient.

Since phones only support GSM-7 and/or UCS-2 you should use GSM-7 for English and other Western European languages and use UCS-2 for Chines, Japanese and the likes. Which is just how it was intended.

Though all phones will display UCS-2 messages, doesn&#039;t mean it will correctly display all the characters in the world. What it manages to display depends on which fonts it has installed, which is highly localized (Chinese phones will support Chinese but US phones won&#039;t).

Cheers,
Jeroen</description>
		<content:encoded><![CDATA[<p>There are standards for compressing and decompressing SMS messages, but a.f.a.i.k. nobody has implemented them. There are plenty of SMS applications for various smart-phones that will compress SMS messages, but they all require the same app to be running on the sender and the receiver&#8217;s phone.</p>
<p>I don&#8217;t get your question of &#8216;which is best&#8217;&#8230; Do you mean for use by SMS applications?<br />
- UCS-4 uses 4 octets per Unicode character. This is the most wasteful. All well-known character sets around the world can be coded with 2 octets (UCS-2).<br />
- UCS-2 uses 2 octets per Unicode character. This is wasteful for messages that consist largely of ASCII characters (as used in US and Western European languages). For these messages UTF-8 is more efficient.<br />
- UTF-8 is an encoding of UCS-2 and UCS-4. If used with UCS-4 it will use 1-5 octets per character, if used with UCS-2 it will use 1-3 octets per character. If the you&#8217;re dealing with text in Chinese or Japanese, most characters would require 3 octets if you encode them using UTF-8. For these languages UCS-2 is the most efficient.</p>
<p>Since phones only support GSM-7 and/or UCS-2 you should use GSM-7 for English and other Western European languages and use UCS-2 for Chines, Japanese and the likes. Which is just how it was intended.</p>
<p>Though all phones will display UCS-2 messages, doesn&#8217;t mean it will correctly display all the characters in the world. What it manages to display depends on which fonts it has installed, which is highly localized (Chinese phones will support Chinese but US phones won&#8217;t).</p>
<p>Cheers,<br />
Jeroen</p>
]]></content:encoded>
	</item>
</channel>
</rss>

