{"action":"opened","issue":{"url":"https://api.github.com/repos/NikoYuwono/realm-browser-android/issues/3","repository_url":"https://api.github.com/repos/NikoYuwono/realm-browser-android","labels_url":"https://api.github.com/repos/NikoYuwono/realm-browser-android/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/NikoYuwono/realm-browser-android/issues/3/comments","events_url":"https://api.github.com/repos/NikoYuwono/realm-browser-android/issues/3/events","html_url":"https://github.com/NikoYuwono/realm-browser-android/issues/3","id":140073675,"number":3,"title":"IP Address Formatting should use Locale.US","user":{"login":"vinaysshenoy","id":1978065,"avatar_url":"https://avatars.githubusercontent.com/u/1978065?v=3","gravatar_id":"","url":"https://api.github.com/users/vinaysshenoy","html_url":"https://github.com/vinaysshenoy","followers_url":"https://api.github.com/users/vinaysshenoy/followers","following_url":"https://api.github.com/users/vinaysshenoy/following{/other_user}","gists_url":"https://api.github.com/users/vinaysshenoy/gists{/gist_id}","starred_url":"https://api.github.com/users/vinaysshenoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinaysshenoy/subscriptions","organizations_url":"https://api.github.com/users/vinaysshenoy/orgs","repos_url":"https://api.github.com/users/vinaysshenoy/repos","events_url":"https://api.github.com/users/vinaysshenoy/events{/privacy}","received_events_url":"https://api.github.com/users/vinaysshenoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-11T03:16:43Z","updated_at":"2016-03-11T03:16:43Z","closed_at":null,"body":"The formatting of the IP Address in [RealmBrowser.java](https://github.com/NikoYuwono/realm-browser-android/blob/master/realm-browser/src/main/java/com/nikoyuwono/realmbrowser/RealmBrowser.java#L51) should use `Locale.US`. Otherwise, if it's running on a device whose language is set to a non English locale, the number digits for that language is used instead of English digits.\r\n\r\nBasically, use the following line:\r\n```java\r\nfinal String formatedIpAddress = String.format(Locale.US, \"%d.%d.%d.%d\", (ipAddress & 0xff), (ipAddress >> 8 & 0xff), (ipAddress >> 16 & 0xff), (ipAddress >> 24 & 0xff));\r\n```"}}