[ 
https://issues.apache.org/jira/browse/PIVOT-644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Whitcomb updated PIVOT-644:
---------------------------------

    Attachment: svn.diff

Attached patch solves the issue by ignoring the BOM if present at the beginning 
of the file.

> Improve JSONSerializer to ignore a BOM at the beginning of file
> ---------------------------------------------------------------
>
>                 Key: PIVOT-644
>                 URL: https://issues.apache.org/jira/browse/PIVOT-644
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-json
>    Affects Versions: 1.5.1
>         Environment: Windows XP SP3, Java JDK 1.6.0_16
>            Reporter: Roger Whitcomb
>            Priority: Minor
>             Fix For: 1.5.2
>
>         Attachments: svn.diff
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> A "true" UTF-8 file that includes the UTF-8 BOM at the beginning (0xEF, 0xBB, 
> 0xBF) produces a SerializationError on the BOM character.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to