Re: character encoding problem
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Jun 2007 09:33:26 GMT
On Fri, 15 Jun 2007 01:31:51 +0200, bj
<dinamo@xxxxxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :
i've got the following problem :
i'am getting some string with polish characters as some artifacts how
can i change these letters back to normal polish letters??
i've tried something like that
new String(b.getDescription().getBytes("UTF-8"),"ISO-8859-1")
but it didn't work, i've got still some dirty characters in string
You have to be careful with terms. A string is 16-bit characters. You
probably have some bytes, some sort of 8-bit encoding.
In any case, my essay on encoding should tell you more than you wanted
to know about translating back and forth.
http://mindprod.com/jgloss/encoding.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- character encoding problem
- From: bj
- character encoding problem
- Prev by Date: Re: Starting java with C++ background
- Next by Date: Struts Readonly...
- Previous by thread: character encoding problem
- Next by thread: Re: character encoding problem
- Index(es):
Relevant Pages
|
|