{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/7820","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/7820/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/7820/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/7820/events","html_url":"https://github.com/xbmc/xbmc/pull/7820","id":101258088,"number":7820,"title":"fixed: setlocale issue other than windows","user":{"login":"taxigps","id":102434,"avatar_url":"https://avatars.githubusercontent.com/u/102434?v=3","gravatar_id":"","url":"https://api.github.com/users/taxigps","html_url":"https://github.com/taxigps","followers_url":"https://api.github.com/users/taxigps/followers","following_url":"https://api.github.com/users/taxigps/following{/other_user}","gists_url":"https://api.github.com/users/taxigps/gists{/gist_id}","starred_url":"https://api.github.com/users/taxigps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taxigps/subscriptions","organizations_url":"https://api.github.com/users/taxigps/orgs","repos_url":"https://api.github.com/users/taxigps/repos","events_url":"https://api.github.com/users/taxigps/events{/privacy}","received_events_url":"https://api.github.com/users/taxigps/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-16T12:16:45Z","updated_at":"2015-08-17T08:43:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/7820","html_url":"https://github.com/xbmc/xbmc/pull/7820","diff_url":"https://github.com/xbmc/xbmc/pull/7820.diff","patch_url":"https://github.com/xbmc/xbmc/pull/7820.patch"},"body":"https://github.com/xbmc/xbmc/pull/7738 have a bug other than windows. That is: `m_strLangLocaleName` and `m_strRegionLocaleName`  is 3 char code only on windows, they are 2 char code on other os. and `g_LangCodeExpander.ConvertToISO6391` will return null string with 2 char region code input.\r\n\r\nNote: still can't set locale in right language and region on android and ios.\r\n1. android ndk only support \"\", \"C\", \"C.UTF-8\", \"en_US.UTF-8\", \"POSIX\", see: https://developer.android.com/ndk/guides/cpp-support.html and https://github.com/android/platform_bionic/blob/master/libc/bionic/locale.cpp\r\n2. ios only support \"\", \"C\", \"POSIX\" by default. and here is a method to expand it (I don't know how to use in kodi): http://blog.163.com/sylar_lin/blog/static/19233209320136944412210/\r\n   "},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/131733189","html_url":"https://github.com/xbmc/xbmc/pull/7820#issuecomment-131733189","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/7820","id":131733189,"user":{"login":"taxigps","id":102434,"avatar_url":"https://avatars.githubusercontent.com/u/102434?v=3","gravatar_id":"","url":"https://api.github.com/users/taxigps","html_url":"https://github.com/taxigps","followers_url":"https://api.github.com/users/taxigps/followers","following_url":"https://api.github.com/users/taxigps/following{/other_user}","gists_url":"https://api.github.com/users/taxigps/gists{/gist_id}","starred_url":"https://api.github.com/users/taxigps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taxigps/subscriptions","organizations_url":"https://api.github.com/users/taxigps/orgs","repos_url":"https://api.github.com/users/taxigps/repos","events_url":"https://api.github.com/users/taxigps/events{/privacy}","received_events_url":"https://api.github.com/users/taxigps/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T08:43:52Z","updated_at":"2015-08-17T08:43:52Z","body":"Is it possible to use CrystaX NDK (https://www.crystax.net/en/android/ndk) which fully support of C locales. @koying "}}