[ 
https://issues.apache.org/jira/browse/CASSANDRA-10004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660879#comment-14660879
 ] 

Tyler Hobbs commented on CASSANDRA-10004:
-----------------------------------------

Should the help documentation for the option show the default and recommend 
utf8?  Maybe something like this?

{noformat}
 +parser.add_option("--encoding", help="Specify a non-default encoding for 
output.  If you are experiencing problems with unicode characters, using utf8 
may fix the problem.  (Default from system preferences: %s)" % 
(locale.getpreferredencoding(),))
{noformat}

It seems like this fix should be applied to 2.1 as well.  Can you make a branch 
for that and link to the cassci tests?

> Allow changing default encoding on cqlsh
> ----------------------------------------
>
>                 Key: CASSANDRA-10004
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10004
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>            Priority: Minor
>              Labels: cqlsh
>             Fix For: 2.2.x
>
>
> Currently the encoding option is not exposed as a command line parameter, so 
> users cannot specify a different encoding other than the System's default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to