<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Inconsistencies in UK postal code search"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/7.page</link>
		<description><![CDATA[Latest messages posted in the topic "Inconsistencies in UK postal code search"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Inconsistencies in UK postal code search</title>
				<description><![CDATA[ I received some errors with UK postal codes. For example with the following string: "B315bp".

Searching for the code as is returns no result:
http://api.geonames.org/postalCodeLookupJSON?postalcode=B315bp&country=GB&username=*

But searching with a space returns the expected result:
http://api.geonames.org/postalCodeLookupJSON?postalcode=B31%205bp&country=GB&username=*

While with Canada postal codes, which have the same format as UK ones, both will return a result:
http://api.geonames.org/postalCodeLookupJSON?postalcode=h2j2k6&country=CA&username=*
http://api.geonames.org/postalCodeLookupJSON?postalcode=h2j%202k6&country=CA&username=*

Of course I can inject a space in the string whenever I receive a UK postal code, but it seems inconsistent to me. Anyone else noticed this? How do you deal with it?]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4326.page#12619</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4326.page#12619</link>
				<pubDate><![CDATA[Thu, 18 Jul 2013 06:29:20]]> GMT</pubDate>
				<author><![CDATA[ mimbert]]></author>
			</item>
	</channel>
</rss>