hzzc1987 / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

Build warning due to "unmappable character for encoding UTF8" #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Building in linux (english UTF8 locale) is resulting in warnings:
warning: unmappable character for encoding UTF8

This is due to special characters in comments and/or source code.
This may lead to strange results depending on the platform.

Patch included. (btw I noted that at least at one point a catch Throwable
is happening, catch Exception should be used whenever possible, or even
more specific exception classes. If logging and/or rethrowing is performed,
attach the root exception for easier debugging.)

Original issue reported on code.google.com by everf...@gmail.com on 11 Jul 2009 at 10:48

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by everf...@gmail.com on 11 Jul 2009 at 10:49

GoogleCodeExporter commented 8 years ago
Hi everflux,

Thanks a lot for the patch, I've adapted it and put it in revision 499 : 
http://code.google.com/p/jnaerator/source/detail?r=499
Cheers

Original comment by olivier.chafik@gmail.com on 12 Jul 2009 at 9:52

GoogleCodeExporter commented 8 years ago
The fix was not complete, I am afraid. (Line 254 in StringUtils still contained
unmappable characters. I don't know the correct way to write down french special
characters in ascii, so I used english error messages. sorry :) )

Original comment by everf...@gmail.com on 14 Jul 2009 at 11:34

Attachments:

GoogleCodeExporter commented 8 years ago
Hehe, thanks alot for the update... should be fixed by revision 517.
Cheers

Original comment by olivier.chafik@gmail.com on 14 Jul 2009 at 3:40