java - Are URLEncoder and URLDecoder not compatible? -


i use system.out.println(urldecoder.decode(urlencoder.encode("й", "utf-8"), "utf-8")); , expecting see "й" in output. output filled "?"... trouble?

your character getting saved encoding "cp1252" getting blank.

when execute program following pop in eclipse enter image description here


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -