[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[nodeJS] 051 ascii

SwikiCodeRobot @> #testNodeJSAscii

"ASCII conversion in node.js simply masks off the high bits, it doesn't do transliteration."
((NodeBuffer string: 'hérité') toString: #ascii) = 'hC)ritC)' ifFalse: [
	self error: 'Wrong value'
].