[Biojava-l] Compile error: unmappable character for encoding UTF-8

Andreas Dräger andreas.draeger at uni-tuebingen.de
Wed Jul 22 21:30:12 UTC 2009


Richard Holland schrieb:
> It's usually an operating system thing. The encoding used relates
> entirely to the way the user has chosen to save/read the file on disk
> after they've transferred it from our repository (which is encoded
> correctly). In this case, I expect the user's OS default is UTF-8 and
> unless they specify otherwise, all files get saved in that encoding.
>
> Having said that, the \uxxxx suggestion is not a bad idea. 
>
>   
>>> StructureException.java:29: unmappable character for encoding UTF-8
>>>  * @author Andreas Prlic, Thomas Down, Benjamin Schuster-B?ckler
>>>       

Hi guys,

Actually, in the comment fields appropriate HTML codes should be applied
to encode special characters. In this case I guess it should read
"Benjamin Schuster-Bückler" to obtain the German u-umlaut. To avoid
such problems, people should not simply insert any special character but
look it up in designated HTML code tables and use the correct code.

Cheers,
Andreas

-- 
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Sand 1
72076 Tübingen
Germany

Phone: +49-7071-29-70436
Fax:   +49-7071-29-5091




More information about the Biojava-l mailing list