问题有特殊字符 [英] Problem with special characters

查看:153
本文介绍了问题有特殊字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改Android上的字体,使表现出特殊字符,如'或A?
其实包含这些字符的字符串存储在SQLite数据库。

How can I change the font on android to allow to show special characters like "'" or "à"? Actually the strings that contains these characters are stored in the sqlite database.

推荐答案

这是默认的Andr​​oid的SQLite使用UTF-8。
我有这个问题,因为当我上填充我用一个txt文件与另一个字符集最早推出的数据库。

By default Android SQLite uses UTF-8. I had this problem because when I populated the database on the first launch I used a txt file with another charset.

这篇关于问题有特殊字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆