[hibernate-dev] unmappable character for encoding ASCII

Strong Liu stliu at hibernate.org
Mon Mar 19 11:05:03 EDT 2012


corrected

https://github.com/hibernate/hibernate-orm/commit/199fae5feee6186d8a4ad7bf68b28e5c6ae1b8fd
-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio

On Mar 19, 2012, at 10:42 PM, Hardy Ferentschik wrote:

> :-) I did not try this one
> Well, converting all the affected files should work then
> 
> --Hardy
> 
> On Mar 19, 2012, at 3:25 PM, Strong Liu wrote:
> 
>> okay, I find it, Windows-1251 for Cyrillic alphabets
>> 
>> thanks BBEdit's reopen using encoding function :D
>> -------------------------
>> Best Regards,
>> 
>> Strong Liu <stliu at hibernate.org>
>> http://about.me/stliu/bio
>> 
>> On Mar 19, 2012, at 10:15 PM, Hardy Ferentschik wrote:
>> 
>>> 
>>> On Mar 19, 2012, at 3:01 PM, Strong Liu wrote:
>>> 
>>>> 
>>>> On Mar 19, 2012, at 9:56 PM, Hardy Ferentschik wrote:
>>>> 
>>>>> why does it say then "Execution failed for task ':hibernate-envers:generateJpaMetamodelClasses'."
>>>>> Confusing message at the very least.
>>>> 
>>>> dont' know about that, but it also fails when i call compileJava directly 
>>>> 
>>>>> 
>>>>> do the files look correct when you ope them in the editor?
>>>>> 
>>>> 
>>>> nope, does it look correct on your side?
>>> 
>>> 
>>> no. I would say it is not UTF-8 to begin with. This is case for iconv
>>> 
>>>> iconv -f <whatever> -t UTF-8 <files>
>>> 
>>> The problem is the whatever. If you use the wagon encoding you end up with some garbage, but
>>> at least it would be UTF-8. I tried a couple of source encodings, but none gives results where I would say
>>> that's probably it. 
>>> 
>>> You could try to use iconv with for example ISO-8859-1 and see if it compiles then. At least you would know that
>>> the problem is the actual encoding.
>>> 
>>> --Hardy
>> 
> 




More information about the hibernate-dev mailing list