Post teilen

Delicious Digg Google+

One Comment

  1. text.getBytes() will always give you some UTF-8 bytes. Windows for example use ISO 8859. Writing thy bytes will cause an UTF-8 textfile. A FileWriter encodes to the default char encoding which can cause another encoding. I didn’t have the defaults in my head, but I guess with windows you’ll have a ISO 8859 file when using a FileWriter.

Kommentar abgeben

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

Microsoft Certified Professional Logo