Skip to content
Advertisement

Java Random unicode character is appearing when using socket requesting

JavaScript

When I request with this code, an weird alphabet comes with output (so i failed to parse json). it looks like unicode char, So I attached u, now it shows weird chinese alphabet (like 耀, 翸, 磛). How can I fix this code?

Advertisement

Answer

I don’t know why its working, but i fixed this problem with downgrading http version to 1.0.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement