And what has all this got to do with creating UTF-8 output? I was explicitly talking about UTF-8, not Latin-1.
If you think there's something wrong with what I suggested, please provide a compilable, self-contained sample that demonstrates an UnmappableCharacterException when encoding a unicode string to UTF-8. Otherwise this is plain FUD.
|Replies are listed 'Best First'.|
|A reply falls below the community's threshold of quality. You may see it by logging in.|