@@ -16,7 +16,7 @@ Elm.Native.Char = function(elm) {
1616
1717 return elm.Native.Char = {
1818 fromCode : function(c) { return String.fromCharCode(c); },
19− toCode : function(c) { return c.charCodeAt(0); },
19+ toCode : function(c) { return c.toUpperCase().charCodeAt(0); },
2020 toUpper : function(c) { return c.toUpperCase(); },
2121 toLower : function(c) { return c.toLowerCase(); },
2222 toLocaleUpper : function(c) { return c.toLocaleUpperCase(); },