Thanks Alex. Just looked into falcon code and found.a few places where
it already ignore the BOM. So it must be a rare exception. I'll take a
look into that and try to find out in which exception it fails.

cyrill

On Thu, Nov 15, 2012 at 9:03 PM, Alex Harui <aha...@adobe.com> wrote:
>
>
>
> On 11/15/12 8:22 PM, "Cyrill Zadra" <cyrill.za...@gmail.com> wrote:
>
>> Hi
>>
>> In the mustella tests there are files that contains \uFEFF (just
>> before the package declaration) and in some cases falcon has problem
>> with this character and ends with the error:
>>
>> [java] Error: Unexpected character. '?' is not allowed here [java]
>> ?package assets.styleTest
>>
>> Following command searches for non-ascii chars and if executed in
>> mustella folder it returns quite a big result.
>>
>> grep --color='auto' -I -R -P -n "^[\x80-\xFF]" *
>>
>> Are those characters really supposed to be there?
>
> See [1].  Falcon will have to learn to ignore them.
>
> [1] http://www.rgagnon.com/javadetails/java-handle-utf8-file-with-bom.html
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>

Reply via email to