Re: [v8-users] Why UTF surrogate pairs are modified by V8?

2016-06-03 Thread Roman Budnyjj
Thank you for explanation! 2016-06-03 9:42 GMT+03:00 Jochen Eisinger : > Your input string is encoded as CESU-8, not UTF-8. Older versions of V8 > would silently accept that encoding, however, this leads to broken behavior > when interacting with libraries actually expecting

Re: [v8-users] Why UTF surrogate pairs are modified by V8?

2016-06-03 Thread Jochen Eisinger
Your input string is encoded as CESU-8, not UTF-8. Older versions of V8 would silently accept that encoding, however, this leads to broken behavior when interacting with libraries actually expecting UTF-8, so we changed our implementation to actually require UTF-8, and invalid characters are