I am using Javascript's encodeURI / encodeURIComponent to encode a string containing the german "ß"-letter.
开发者_开发技巧Unfortunately nodejs encodes ß as %EF%BF%BD and not like for example Firefox does: %C3%9F
thus the server i am trying to communicate with cannot give me correct results.
Is there an option for changing how encodeURI behaves? maybe some utf-problem or something?
Thanks.
It's interpreting it as an illegal character (\uFFFD) which in utf-8 is EF BF BD.
As I understand from a quick glance over this disscution http://groups.google.com/group/nodejs/browse_thread/thread/239f40df6036095d?pli=1 , there might be an issue with V8
精彩评论