在cassandra中使用Latin1编码的字符

时间:2016-01-04 20:25:29

标签: cassandra cqlsh

我正在开发一个项目,我们的数据库必须能够处理插入或查询的单词上的“á”或“ñ”等西班牙语字符。现在每当我从cqlsh运行一个类似下面的插入命令时:

insert into test (name) values ('ñandu');

我收到以下错误:

ProtocolException: (ErrorMessage code=000a [Protocol error] message="Cannot decode string as UTF8: 'a4616e647527293b'; java.nio.charset.MalformedInputException: Input length = 1")

关于如何解决这个问题的任何想法?

0 个答案:

没有答案
相关问题