@@ -16,7 +16,7 @@ Elm.Native.Char = function(elm) {
17 return elm.Native.Char = {
17 return elm.Native.Char = {
18 fromCode : function(c) { return String.fromCharCode(c); },
18 fromCode : function(c) { return String.fromCharCode(c); },
19− toCode : function(c) { return c.charCodeAt(0); },
19+ toCode : function(c) { return c.toUpperCase().charCodeAt(0); },
20 toUpper : function(c) { return c.toUpperCase(); },
20 toUpper : function(c) { return c.toUpperCase(); },
21 toLower : function(c) { return c.toLowerCase(); },
21 toLower : function(c) { return c.toLowerCase(); },
22 toLocaleUpper : function(c) { return c.toLocaleUpperCase(); },
22 toLocaleUpper : function(c) { return c.toLocaleUpperCase(); },