Marcel Ruff wrote: > ... > As UTF-8 may not contain '\0' ... Yes it can. Are you thinking of Java's _modified_ version of UTF-8 (http://en.wikipedia.org/wiki/UTF-8#Java)? Daniel -- Daniel Barclay dsb@xxxxxxxxx -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/