Skip to content

Instantly share code, notes, and snippets.

@cognominal
Created May 17, 2011 18:06
Show Gist options
  • Save cognominal/977005 to your computer and use it in GitHub Desktop.
Save cognominal/977005 to your computer and use it in GitHub Desktop.
fast track complaint to commit in the master
[17:44] cognominal: ryah, in child_process.js, setupChannel uses ascii as encoding, why not utf8?
[17:44] ryah: why utf8?
[17:44] Aikar: cognominal: he just responded to the commit about that
[17:45] cognominal: in Europe, we use plenty of characters that don't fit in ascii
[17:45] ryah: this is an american project
[17:45] Aikar: lolz
[17:45] ryah: so... sorry
[17:46] tjholowaychuk: america fuck yeah
[17:46] MooGoo: yea fuck those off brand characters
[17:46] Bonuspunkt: ^^ <3
[17:46] MooGoo: just makes everything more difficult
[17:46] ryah: cognominal: json is ascii
[17:46] Pilate: if its not matched by \w its not real
[17:47] ryah: cognominal: high-valued characters are encoded like this "\u1234"
[17:47] brolin has joined the channel
[17:47] cognominal: thx, I did not know.
[17:47] MooGoo: you guys in eurpoe should just all learn to speak english
[17:47] MooGoo: same goes for the rest of the world
[17:48] Bonuspunkt: v8: JSON.stringify('◎н ґεαʟł⑂')
[17:48] v8bot: Bonuspunkt: "\"◎н ґεαʟł⑂\""
[17:48] halfhalo: psh, like the rest of the word matters
[17:48] acd123: i'm trying to use node's SSL in production and i think i'm experiencing the bug you guys were discussing
[17:48] MooGoo: well I dunno
[17:48] MooGoo: encoding issues are a real pain in the ass
[17:48] MooGoo: imagine the world with just ascii
[17:48] MooGoo: a world of peace and prosperity
[17:48] halfhalo: i like it
[17:48] halfhalo: lets do it
[17:49] MooGoo: I think the first step is to take the internet back
[17:49] MooGoo: the rest of the world can have their own
[17:49] MooGoo: cept keep a link to japan for pr0n
[17:50] cognominal: So the problem is with JSON.stringify?
[17:50] ryah: huh -maybe im wrong about the json.stringify
[17:50] c4milo: well in south american we use characters outside of the ascii set :P
[17:50] c4milo: ryah: yes you are wrong
[17:51] c4milo: ryah: it supports utf-8
[17:51] Aikar: inb4 south america isnt america
[17:51] CIA-90: node: 03Ryan Dahl 07master * r0271b78 10/ lib/child_process.js : fork: Use utf8 for channel encoding - http://bit.ly/inL9AH
[17:52] ryah: cognominal: sorry
[17:53] cognominal: ryah++ # that was fast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment