<?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/"
	
	>
<channel>
	<title>
	Comments on: String Length in Elixir	</title>
	<atom:link href="https://programmingzen.com/string-length-in-elixir/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmingzen.com/string-length-in-elixir/</link>
	<description>Meditations on programming, startups, and technology</description>
	<lastBuildDate>Wed, 10 Aug 2022 19:10:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Doug Edmunds		</title>
		<link>https://programmingzen.com/string-length-in-elixir/#comment-37078</link>

		<dc:creator><![CDATA[Doug Edmunds]]></dc:creator>
		<pubDate>Wed, 10 Aug 2022 19:10:29 +0000</pubDate>
		<guid isPermaLink="false">https://programmingzen.com/?p=2286#comment-37078</guid>

					<description><![CDATA[system: Win 10 home, code page 65001

I get byte_size(string) of 6, not 8

Interactive Elixir (1.13.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(12)&#062; string = &quot;résumé&quot;
&#060;&#060;114, 0, 115, 117, 109, 0&#062;&#062;
iex(13)&#062; byte_size(string)
6
iex(14)&#062; String.length(string)
6]]></description>
			<content:encoded><![CDATA[<p>system: Win 10 home, code page 65001</p>
<p>I get byte_size(string) of 6, not 8</p>
<p>Interactive Elixir (1.13.4) &#8211; press Ctrl+C to exit (type h() ENTER for help)<br />
iex(12)&gt; string = &#8220;résumé&#8221;<br />
&lt;&lt;114, 0, 115, 117, 109, 0&gt;&gt;<br />
iex(13)&gt; byte_size(string)<br />
6<br />
iex(14)&gt; String.length(string)<br />
6</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Antonio Cangiano		</title>
		<link>https://programmingzen.com/string-length-in-elixir/#comment-29458</link>

		<dc:creator><![CDATA[Antonio Cangiano]]></dc:creator>
		<pubDate>Wed, 23 Oct 2019 15:02:33 +0000</pubDate>
		<guid isPermaLink="false">https://programmingzen.com/?p=2286#comment-29458</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://programmingzen.com/string-length-in-elixir/#comment-29456&quot;&gt;Víctor Adrián de la Cruz Serrano&lt;/a&gt;.

Hi Víctor,

Are you using the two different versions of that character? (i.e., the single codepoint version and the double codepoint version) If you do, it should work and show false.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://programmingzen.com/string-length-in-elixir/#comment-29456">Víctor Adrián de la Cruz Serrano</a>.</p>
<p>Hi Víctor,</p>
<p>Are you using the two different versions of that character? (i.e., the single codepoint version and the double codepoint version) If you do, it should work and show false.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Víctor Adrián de la Cruz Serrano		</title>
		<link>https://programmingzen.com/string-length-in-elixir/#comment-29456</link>

		<dc:creator><![CDATA[Víctor Adrián de la Cruz Serrano]]></dc:creator>
		<pubDate>Sun, 20 Oct 2019 22:00:51 +0000</pubDate>
		<guid isPermaLink="false">https://programmingzen.com/?p=2286#comment-29456</guid>

					<description><![CDATA[Hmm, I&#039;m seeing this:

&quot;á&quot; == &quot;á&quot;
true]]></description>
			<content:encoded><![CDATA[<p>Hmm, I&#8217;m seeing this:</p>
<p>&#8220;á&#8221; == &#8220;á&#8221;<br />
true</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
