<?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: How to escape special characters</title>
	<atom:link href="http://erlangexamples.com/2009/02/26/how-to-escape-special-characters/feed/" rel="self" type="application/rss+xml" />
	<link>http://erlangexamples.com/2009/02/26/how-to-escape-special-characters/</link>
	<description>Diving into Erlang World</description>
	<lastBuildDate>Sun, 24 Jul 2011 03:44:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: erlang中的http url encode &#171; eYou-eMe</title>
		<link>http://erlangexamples.com/2009/02/26/how-to-escape-special-characters/comment-page-1/#comment-299</link>
		<dc:creator>erlang中的http url encode &#171; eYou-eMe</dc:creator>
		<pubDate>Wed, 12 Aug 2009 06:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://erlangexamples.com/?p=24#comment-299</guid>
		<description>[...] http://erlangexamples.com/2009/02/26/how-to-escape-special-characters/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://erlangexamples.com/2009/02/26/how-to-escape-special-characters/" rel="nofollow">http://erlangexamples.com/2009/02/26/how-to-escape-special-characters/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://erlangexamples.com/2009/02/26/how-to-escape-special-characters/comment-page-1/#comment-298</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Tue, 11 Aug 2009 12:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://erlangexamples.com/?p=24#comment-298</guid>
		<description>Ok I found out, edoc_lib.beam was not in the path... my fault!</description>
		<content:encoded><![CDATA[<p>Ok I found out, edoc_lib.beam was not in the path&#8230; my fault!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://erlangexamples.com/2009/02/26/how-to-escape-special-characters/comment-page-1/#comment-297</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Tue, 11 Aug 2009 12:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://erlangexamples.com/?p=24#comment-297</guid>
		<description>Hi, I&#039;m trying to use this function. Actually it works in my local machine, either via erl shell either in a ejabberd module. But if I try to use this ejabberd module in production, when it gets to the point where it has to do edoc_lib:escape_uri the result is this :

E(:ejabberd_hooks:190) : {undef,
                                   [{edoc_lib,escape_uri,
                                     [&quot;asidj&quot;]},
                                    {mod_test,save_message,1},
                                    {mod_test,on_message_sent,3},
                                    {ejabberd_hooks,run1,3},
                                    {ejabberd_c2s,session_established2,2},
                                    {gen_fsm,handle_msg,7},
                                    {proc_lib,wake_up,3}]}

Seems like the function is undefined. You know these erlang errors are not so explicit... Do I need to include something in order to have it work?

What I don&#039;t understand is why the same function edoc_lib:escape_uri works in production if called inside an erlang shell...</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m trying to use this function. Actually it works in my local machine, either via erl shell either in a ejabberd module. But if I try to use this ejabberd module in production, when it gets to the point where it has to do edoc_lib:escape_uri the result is this :</p>
<p>E(:ejabberd_hooks:190) : {undef,<br />
                                   [{edoc_lib,escape_uri,<br />
                                     ["asidj"]},<br />
                                    {mod_test,save_message,1},<br />
                                    {mod_test,on_message_sent,3},<br />
                                    {ejabberd_hooks,run1,3},<br />
                                    {ejabberd_c2s,session_established2,2},<br />
                                    {gen_fsm,handle_msg,7},<br />
                                    {proc_lib,wake_up,3}]}</p>
<p>Seems like the function is undefined. You know these erlang errors are not so explicit&#8230; Do I need to include something in order to have it work?</p>
<p>What I don&#8217;t understand is why the same function edoc_lib:escape_uri works in production if called inside an erlang shell&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

