<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Globalization</title>
        <link>http://geekswithblogs.net/yowhann/category/6131.aspx</link>
        <description>Globalization</description>
        <language>en-US</language>
        <copyright>Yow-Hann Lee</copyright>
        <managingEditor>yowhann@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Unlisted Bug Fix in .NET 1.1 SP1 - CultureInfo sr (Serbian)</title>
            <link>http://geekswithblogs.net/yowhann/archive/2007/01/13/103535.aspx</link>
            <description>&lt;P&gt;The site, &lt;A href="http://support.microsoft.com/kb/867460"&gt;http://support.microsoft.com/kb/867460&lt;/A&gt;, list all the known bug fixes for the .NET Framework 1.1 in Service Pack 1. The following change in behavior from previous builds of .NET 1.1 is not an item listed on the support page.&lt;/P&gt;
&lt;P&gt;So in continuation with my previous &lt;A href="http://geekswithblogs.net/yowhann/archive/2006/11/19/97576.aspx"&gt;blog entry&lt;/A&gt;&amp;nbsp;highlighting interesting&amp;nbsp;little quirks in Globalization efforts in .NET, I would like to point one out for Serbian.&lt;/P&gt;
&lt;P&gt;The following:&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#008080 size=2&gt;CultureInfo&lt;/FONT&gt;&lt;FONT size=2&gt; ci = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;CultureInfo&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"sr"&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#008080 size=2&gt;Console&lt;/FONT&gt;&lt;FONT size=2&gt;.WriteLine(ci.NativeName);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;will return the expected output of "srpski" to you &lt;STRONG&gt;IF &lt;/STRONG&gt;you have .NET 1.1 SP1 installed. (You can determine which build number of .NET 1.1 you have installed by checking the version of mscorlib.dll, Microsoft CLR Class Library, on your machine). 
&lt;P&gt;For example, if you had the original RTM (&lt;STRONG&gt;1.1.4322.573&lt;/STRONG&gt;) or another earlier release (&lt;STRONG&gt;1.1.4322.985&lt;/STRONG&gt;), the above code will throw an exception on you. 
&lt;P&gt;However, you will be fine if you have the latest .NET build (&lt;STRONG&gt;1.1.4322.2300&lt;/STRONG&gt;). 
&lt;P&gt;Just to add to this, "&lt;STRONG&gt;sr&lt;/STRONG&gt;" is recognized by CultureInfo but is not highlighted in the documentation. According to the .NET 1.1 SDK doc (&lt;B&gt;ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemGlobalizationCultureInfoClassTopic.htm&lt;/B&gt;),&lt;B&gt; &lt;/B&gt;documented strings for Serbian are "&lt;STRONG&gt;sr-SP-Cyrl&lt;/STRONG&gt;" and "&lt;STRONG&gt;sr-SP-Latn&lt;/STRONG&gt;". Notice how the two letter representation "&lt;STRONG&gt;sr&lt;/STRONG&gt;" is not mentioned. However, for other languages with different locales (i.e. French), it also includes the two letter representation, "&lt;STRONG&gt;fr&lt;/STRONG&gt;"&amp;nbsp;in its documentation. 
&lt;P&gt;Microsoft Support and MSDN do a great job of providing instructions and highlighting issues. But as the saying goes, "there are just so many things and so little time". Catching all the quirks here and there is not an easy task. So this is where the &lt;A href="http://msdn2.microsoft.com/en-us/library/User-yowhann.aspx"&gt;MSDN Community Content/Wiki kicks in&lt;/A&gt;. 
&lt;P&gt;In a future blog entry, I will highlight some of the discrepancies in dealing with identifying the user language directly from the http request and mapping it to a culture. In the meantime, Happy Globalization. &lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=103535"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=103535" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/yowhann/aggbug/103535.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Yow-Hann Lee</dc:creator>
            <guid>http://geekswithblogs.net/yowhann/archive/2007/01/13/103535.aspx</guid>
            <pubDate>Sat, 13 Jan 2007 19:47:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/yowhann/comments/103535.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/yowhann/archive/2007/01/13/103535.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/yowhann/comments/commentRss/103535.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/yowhann/services/trackbacks/103535.aspx</trackback:ping>
        </item>
        <item>
            <title>MSDN Community Content/Wiki (finally, my blog entry on this)</title>
            <link>http://geekswithblogs.net/yowhann/archive/2006/12/27/102154.aspx</link>
            <description>&lt;P&gt;I had known about the &lt;A href="http://msdn2.microsoft.com/en-us/library/communitymsdnwikifaq.aspx"&gt;MSDN Community Content&lt;/A&gt; (aka wiki style setup) for some time. I know, I know...its beta existed&amp;nbsp;for several months (earlier in the year?).&amp;nbsp;So my entry is a bit belated.&lt;/P&gt;
&lt;P&gt;But&amp;nbsp;now that I have finally&amp;nbsp;contributed to the MSDN community with a couple entries, I feel that I can blog about it. The fact that it was brought up as a point of conversation recently amongst colleagues sparked me to finally contribute.&lt;/P&gt;
&lt;P&gt;They had mentioned how after years of sifting through documentation, they were always left wanting just a bit more. In MSDN's defense, it is great at getting people started and on the right track with good documentation and simple examples. This is a goal that MSDN has met and achieved. However, as with anything, people always want "more" =). They want more sophisticated real world scenarios and detailed descriptions of quirks here and there.&lt;/P&gt;
&lt;P&gt;And now with MSDN Community Content, exactly such an opportunity exists. To top it off, it is user generated content coming from people that have been in the trenches and consuming the APIs. It's a bit like taking a slice out of the Wikipedia success and the less well-known fact (according to a colleague)&amp;nbsp;that only a handful of people contribute to specialized topics. While this results in content that is not reflective of the entire general population, it provides a good medium between content that is packaged and fed to you vs. user generated content.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;MINOR GLITCHES (ISSUE IN FIREFOX)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;My experience with MSDN Community Content edit mode&amp;nbsp;has been decent. There were cross browser issues. For example, in IE, if you attempt to Add content more than once, a popup dialog will appear stating that "You cannot add more than one block at one time". However, if you do the exact same thing in Firefox 2.0, another text editor will appear below your existing one. The footer of the page then starts to act up and flicker.&lt;/P&gt;
&lt;P&gt;In true wiki fashion, you can see the history of user generated content by clicking on the 'Show History' text links.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;MY POSTS&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can find a couple of my posts &lt;A href="http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx#CommunityContent"&gt;here&lt;/A&gt;&amp;nbsp;(&lt;A href="http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx#CommunityContent"&gt;.NET 1.1 bug with zh-MO CultureInfo.NativeName&lt;/A&gt;)&amp;nbsp;and &lt;A href="http://msdn2.microsoft.com/en-us/library/system.collections.specialized.listdictionary.aspx#CommunityContent"&gt;here&lt;/A&gt;&amp;nbsp;(&lt;A href="http://msdn2.microsoft.com/en-us/library/system.collections.specialized.listdictionary.aspx#CommunityContent"&gt;tip for use of HybridDictionary in ListDictionary page&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SUSBSCRIBE&amp;nbsp;TO FEED&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Lastly, in web 2.0 fashion, you can subscribe to a contributor's feeds.&lt;/P&gt;
&lt;P&gt;My feed can be found at: &lt;A href="http://msdn2.microsoft.com/en-us/library/User-yowhann.aspx"&gt;http://msdn2.microsoft.com/en-us/library/User-yowhann.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;While the search engines on technical content is fairly decent, this is just another drive or effort towards aggregating and consolidating human or in this case, technical knowledge. The internet is slowly coming to realize Tim Berners-Lee's original vision. Although, if you refer to IETF, there are a lot who are not&amp;nbsp;there yet (see &lt;A href="http://en.wikipedia.org/wiki/WebDAV"&gt;wikipedia content on WebDAV&lt;/A&gt;).&amp;nbsp;&lt;/P&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=102154"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=102154" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/yowhann/aggbug/102154.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Yow-Hann Lee</dc:creator>
            <guid>http://geekswithblogs.net/yowhann/archive/2006/12/27/102154.aspx</guid>
            <pubDate>Thu, 28 Dec 2006 03:28:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/yowhann/comments/102154.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/yowhann/archive/2006/12/27/102154.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/yowhann/comments/commentRss/102154.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/yowhann/services/trackbacks/102154.aspx</trackback:ping>
        </item>
        <item>
            <title>Bug/Known issue CultureInfo zh-MO (Macau) .NET 1.1 vs. .NET 2.0</title>
            <link>http://geekswithblogs.net/yowhann/archive/2006/11/19/97576.aspx</link>
            <description>&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=97576"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=97576" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/yowhann/aggbug/97576.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Yow-Hann Lee</dc:creator>
            <guid>http://geekswithblogs.net/yowhann/archive/2006/11/19/97576.aspx</guid>
            <pubDate>Sun, 19 Nov 2006 23:50:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/yowhann/comments/97576.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/yowhann/archive/2006/11/19/97576.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/yowhann/comments/commentRss/97576.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/yowhann/services/trackbacks/97576.aspx</trackback:ping>
        </item>
    </channel>
</rss>