I have finally solved issues with my ICU installation, and now trying to figure it out.The problem I'm having is util.TextDecoder accepts an encoding as parameter however util.TextEncoder does not. Neither buffer.toString nor socket.setEncoding accepts win-1254 which I introduced using full ICU.So now when I get a buffer I can correctly decode it but when I want to send the same string using socket.write it gets corrupted since it's being sent as UTF8. How do I solve this? Isn't there a way to encode a string without having to use external modules?
Submitted March 02, 2018 at 02:27PM by safeTell
No comments:
Post a Comment