자바 코드 내에서 인코딩 변경

우리 회사의 솔루션은 UTF-8 기준으로 만들어졌기 때문에 대부분의 웹사이트에서 사용중인 EUC-KR로 인코딩된 스트링을 UTF-8로 변환할 필요가 있다.

아래 코드를 사용하면 자바 소스 내에서 바로 인코딩 변환이 가능하다.



String euckr = “가나다”;  // EUC-KR
String utf8 = new String(eucStr.getBytes(“euc-kr”), “utf-8″);


46 comments

  1. 560799 463864This design is steller! You certainly know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (nicely, almost

  2. 140631 56727Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! However, how could we communicate? 652843

  3. 1053 850110Safest the world toasts are made to captivate and also faithfulness to your wedding couple. Beginner sound system watching high decibel locations would be wise to always remember some sort of vital secret developed by presentation, which is your auto. greatest man speeches funny 90990

  4. I used to be suggested this web site by means of my cousin.
    I’m now not certain whether this submit is written
    via him as no one else understand such detailed approximately my problem.
    You’re wonderful! Thank you!

  5. 681650 209912Echt tolle Seite. Rubbish bin eigentlich nur per Zufall hier gelandet, aber ich bin jetzt schon complete von der tremendous Seite beeindruckt. Gratuliere dazu!! Viel Erfolg noch durch der sehr guten Home-page mein Freund. 540939

  6. Fantastic blog you have here but I was curious about if you knew of any forums that cover the same topics talked about in this
    article? I’d really love to be a part of online community where I can get suggestions
    from other experienced people that share the same interest.
    If you have any recommendations, please let me know.
    Cheers!

  7. 14117 449388A person essentially lend a hand to make significantly articles I might state. That is the very first time I frequented your website page and up to now? I amazed with the research you made to create this particular publish incredible. Great activity! 180796

  8. 268689 948074Youre so cool! I dont suppose Ive read anything in this way before. So good to locate somebody by original thoughts on this topic. realy thanks for beginning this up. this fabulous site is 1 thing that is necessary on the internet, a person with a bit of originality. beneficial project for bringing a new challenge towards internet! 352648

  9. 244003 960203If you are needing to produce alteration in an individuals llife, during i would say the Are typically Bodyweight peeling off pounds training course are a wide path within the direction of gaining any search. la weight loss 914854

  10. 166884 283981I dont believe Ive read anything like this before. So excellent to locate somebody with some original thoughts on this topic. thank for starting this up. This site is something that is required on the internet, someone with a bit originality. Excellent job for bringing something new towards the internet! 468711

Leave a Reply to trading spaces Cancel reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current ye@r *