{"action":"opened","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4608","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4608/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4608/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4608/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4608","id":113205822,"number":4608,"title":"unable to switch on UTF8 strings","user":{"login":"fponticelli","id":163915,"avatar_url":"https://avatars.githubusercontent.com/u/163915?v=3","gravatar_id":"","url":"https://api.github.com/users/fponticelli","html_url":"https://github.com/fponticelli","followers_url":"https://api.github.com/users/fponticelli/followers","following_url":"https://api.github.com/users/fponticelli/following{/other_user}","gists_url":"https://api.github.com/users/fponticelli/gists{/gist_id}","starred_url":"https://api.github.com/users/fponticelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fponticelli/subscriptions","organizations_url":"https://api.github.com/users/fponticelli/orgs","repos_url":"https://api.github.com/users/fponticelli/repos","events_url":"https://api.github.com/users/fponticelli/events{/privacy}","received_events_url":"https://api.github.com/users/fponticelli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/platform-java","name":"platform-java","color":"009800"},{"url":"https://api.github.com/repos/HaxeFoundation/haxe/labels/platform-python","name":"platform-python","color":"2b5b84"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-25T04:24:17Z","updated_at":"2015-10-25T04:24:17Z","closed_at":null,"body":"Run the following, it fails in both Java and Python. I added the invalid `\"a\"` case just to trigger the right behavior in Python.\r\n\r\n```haxe\r\nclass Main {\r\n  static function main() {\r\n    var t = \"°C\";\r\n    switch t {\r\n      case \"°C\":\r\n        trace(\"OK\");\r\n      case \"a\":\r\n        trace('also not good $t');\r\n      case _:\r\n        trace('cannot match $t');\r\n    }\r\n  }\r\n}\r\n```"}}