以错误的编码加载的数据库文件:'UTF-8' [英] Database file loaded in the wrong encoding: 'UTF-8'
问题描述
我知道关于这个问题有两个类似的问题,但两个问题都没有得到任何明确的解决方案.我也尝试过提到的解决方案,但没有解决我的.
I know there are two similar questions asked about this issue, but both questions did not receive any explicit solutions. I have also tried the solutions mentioned but none solved mine.
我的问题是我创建了一个数据库(使用 DB Browser for SQLite).当我将数据库粘贴到资产中时 >数据库文件夹,出现错误.见附图供参考.
My issue is that I have a database created (using DB Browser for SQLite). When I pasted the db in the assets > databases folder, the error appeared. See attached picture for reference.
数据库错误:
我尝试过的解决方案:
单击以另一种编码重新加载"选项并仍然选择 UTF-8,如此处提到的解决方案之一所述 (文件以错误的编码加载:IntelliJ IDEA 中的'UTF-8').
为所有编码设置 UTF-8 - IDE、Project &默认值,如此处所述(Android Studio 项目编码错误).
Set UTF-8 for all encoding - IDE, Project & Default, as stated here (Android Studio Project Encoding Error).
上述解决方案都不适用于我.
None of the above-mentioned solutions worked for mine.
因此,我想知道是否有其他替代解决方案可以用来解决这个问题?或者我应该重新加载到另一种类型的编码?(但大多数选项也显示红色/灰色感叹号.)
As such, I'd like to know if there are other alternative solutions I can use to solve this problem? Or should I just reload to another type of encoding? (but most of the options showed the red/grey exclamation mark too.)
推荐答案
我通过NOTHING 解决了这个问题.
如果其他人遇到此问题,您可以继续您的开发并忽略不那么严重的错误.不会影响您以后的发展.
If anyone else experience this problem, you may just continue on with your development and ignore the not-so error. It will not affect your development in the future.
这篇关于以错误的编码加载的数据库文件:'UTF-8'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!