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

Pradeep Kamath updated PIG-497:
-------------------------------

    Attachment: PIG-497-2.patch

New version of patch attached with following changes:
- Rolled back the changes to GruntParser.java and ExampleGenerator.java. In the 
earlier patch System.out.println(String) was replaced by 
System.out.write(String.getBytes("UTF-8"). This would force the output to 
always be in UTF-8 for "illustrate" and "dump" commands. This has been reverted 
back to System.out.println() so that the output is in the VM's default charset 
(which can be controlled by the LANG environment variable in UNIX). This is to 
allow users to choose their charset for output.
- Changed Util.createInputFile (helper function used by the unit test) to write 
the input file in UTF-8 encoding so that the unit test introduced in this patch 
can run without the need to have "LANG" environment variable set up.

> dump does not deal with non-ascii data
> --------------------------------------
>
>                 Key: PIG-497
>                 URL: https://issues.apache.org/jira/browse/PIG-497
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Pradeep Kamath
>             Fix For: types_branch
>
>         Attachments: PIG-497-2.patch, PIG-497.patch
>
>


-- 
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