Re: How to specify encoding in Java?

From: Konrad Den Ende (chamsterkonrad_at_bigfoot.com)
Date: 01/25/04


Date: Sun, 25 Jan 2004 10:37:32 +0100


> InputStream is = new BufferedInputStream(
> new FileInputStream("unicode.txt"));
> Reader reader = new InputStreamReader(is, "UTF-16");

Thanks. I'll try that right away.

-- 
Kindly
Konrad
---------------------------------------------------
May all spammers die an agonizing death; have no burial places;
their souls be chased by demons in Gehenna from one room to
another for all eternity and more.
Sleep - thing used by ineffective people
            as a substitute for coffee
Ambition - a poor excuse for not having
                 enough sense to be lazy
---------------------------------------------------


Relevant Pages

  • Return (1) and return (2)
    ... What are those letters ment ... May all spammers die an agonizing death; have no burial places; ... their souls be chased by demons in Gehenna from one room to ...
    (sci.lang.japan)
  • Re: How to catch all exceptions?
    ... is that the standard error has not been redirected. ... May all spammers die an agonizing death; ... have no burial places; their souls be ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Crosswords in Japan
    ... Very surprising but funto try. ... May all spammers die an agonizing death; have no burial places; ... their souls be chased by demons in Gehenna from one room to ...
    (sci.lang.japan)
  • Re: Where to get the video
    ... May all spammers die an agonizing death; have no burial places; ... their souls be chased by demons in Gehenna from one room to ... Ambition - a poor excuse for not having ...
    (microsoft.public.vsnet.general)
  • Re: What did i forgot [ public void mouseClicked (MouseEvent e) ]
    ... Dum ass forgot to add ... May all spammers die an agonizing death; have no burial places; ... their souls be chased by demons in Gehenna from one room to ...
    (comp.lang.java.gui)