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

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -