{"id":4,"date":"2008-12-15T09:34:36","date_gmt":"2008-11-16T19:07:16","guid":{"rendered":""},"modified":"2017-03-07T20:20:59","modified_gmt":"2017-03-07T20:20:59","slug":"applications_failing_with_turkish_locale","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/serkan\/2008\/12\/15\/applications_failing_with_turkish_locale\/","title":{"rendered":"Applications failing with Turkish locale"},"content":{"rendered":"<p>Generally default uppercase\/lowercase implementation in class libraries\/frameworks respect active locale&#8217;s behavior. Due to difference in handling of letter I &amp; i [1] applications may fail when locale-aware case conversion is not desired such as parsers, generators etc. The general fix for this issue is to use an English locale in case conversion. I&#8217;ll give a few example bug reports. <\/p>\n<ul>\n<li>A <a href=\"http:\/\/bugzilla.gnome.org\/show_bug.cgi?id=529052\">bug<\/a> in java-gnome bindings generator I reported and its <a href=\"http:\/\/bazaar.launchpad.net\/~afcowie\/java-gnome\/mainline\/revision\/491\">fix<\/a>.<\/li>\n<li>A Turkish locale specific <a href=\"https:\/\/jaxb.dev.java.net\/issues\/show_bug.cgi?id=544\">bug<\/a> in JAXB .<\/li>\n<li>A <a href=\"https:\/\/bugs.launchpad.net\/bzr\/+bug\/285491\">bug<\/a> I hit in Bazaar that hinders my bundle generation, merge process which only happens in branches with signed commits.<\/li>\n<li>A <a href=\"https:\/\/bugs.launchpad.net\/exaile\/+bug\/191687\">bug<\/a> in Exaile media player<\/li>\n<\/ul>\n<p>I guess, I can give more if I google, but I think the above examples are enough to show why applications fail with Turkish locale. <\/p>\n<p>1: http:\/\/www.i18nguy.com\/unicode\/turkish-i18n.html<\/p>\n<p><b>Addition:<\/b> I traced Bazaar bug to be really a bug in Python itself, see: http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=489740 for how Pardus and Debian fixed Turkish locale issues. Thanks to Jesus Rivero for quick follow up after my request of applying these patches in Gentoo. Hopefully they&#8217;ll soon be incorporated in portage.<br \/>\n<b>Further Addition:<\/b> Fixes are committed to portage by Ali Polatel. See <a href=\"http:\/\/bugs.gentoo.org\/show_bug.cgi?id=250075\">bug #250075<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Generally default uppercase\/lowercase implementation in class libraries\/frameworks respect active locale&#8217;s behavior. Due to difference in handling of letter I &amp; i [1] applications may fail when locale-aware case conversion is not desired such as parsers, generators etc. The general fix for this issue is to use an English locale in case conversion. I&#8217;ll give a &hellip; <a href=\"https:\/\/blogs.gentoo.org\/serkan\/2008\/12\/15\/applications_failing_with_turkish_locale\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Applications failing with Turkish locale<\/span><\/a><\/p>\n","protected":false},"author":71,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/posts\/4"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/comments?post=4"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/posts\/4\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/posts\/4\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/media?parent=4"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/categories?post=4"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/tags?post=4"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}