-
【Android】Eclipse上string.xml发生Found text“ ” where item tag is expected错误,如何解决
2016-05-24 14:27:45作者:Yogi前言:因为项目需要增加对中文繁体的支持,所以利用谷歌翻译,将项目原有的中文简体翻译成中文繁体,但是直接将谷歌翻译后的内容拷贝到string.xml中,遇到问题:Found text“ ” where item tag is ...作者:Yogi
福利
想了解买房知识,可以找我的朋友,千里马(微信:qianlima0068),教你低首付买房。(注明:CSDN的朋友介绍的)
前言:因为项目需要增加对中文繁体的支持,所以利用谷歌翻译,将项目原有的中文简体翻译成中文繁体,但是直接将谷歌翻译后的内容拷贝到string.xml中,遇到问题:Found text“ ” where item tag is expected导致apk无法正常编译。此篇文章告诉你如何解决此问题。
背景
下图表示了我是如何把中文简体变成中文繁体的过程:
在第3步之后,我直接把拷贝到的内容贴到Eclipse中的string.xml中,显示如下图:
你看,这样根本看不出什么问题,觉得一切正常啊,可是Eclipse就是会报这个错。
出错原因
我把拷贝的内容贴到UE编辑器,显示如下图:
看到了吗,有很多问号,但是这些问号在Eclipse中根本不显示,我在UE中把这些问号去掉,修改后,如下图:
再把这些修改后的内容贴到Eclipse中,显示如下图:
这下就好了,一切正常,没有这个错了。
总结
遇到Found text“ ” where item tag is expected这类问题,就把string.xml的内容放到UE编辑器中查看,能够看出出错原因,对应修改即可。
-
standards groups, which is why this repo is called standard/standard and not ECMA/standard. The word "standard" has more meanings than just "web standard" :-) For example: This module helps hold our ...
-
安装plsql之后弹出框nls_lang is not defiend,sql 数据查出来中文乱码
2018-01-02 10:12:39当在安装plsql之后,点击启动程序之后,弹出如下框内容解决办法 :第一步 先查询 这两句sql 分别查询 查询出 oracal数据库的字符类型 我的是AMERICAN_AMERICA.ZHS16GBKSelect * from V$NLS_PARAMETERS where ...当在安装plsql之后,点击启动程序之后,弹出如下框内容
解决办法 :
第一步 先查询
这两句sql 分别查询 查询出 oracal数据库的字符类型 我的是
Select * from V$NLS_PARAMETERS where PARAMETER='NLS_CHARACTERSET'; Select USERENV('LANGUAGE') from DUAL;
AMERICAN_AMERICA.ZHS16GBK
然后在注册列表设置增加注册变量(s) 路径是
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_OraClient11g_home1键:NLS_LANG和值;AMERICAN_AMERICA.ZHS16GBK
第二步
如果不放心 再在环境变量里面 系统变量 增加一项 键 :NLS_LANG 和值:AMERICAN_AMERICA.ZHS16GBK
网上大多数是这样解释的 如果还出错
我的解决办法是 重启之后 再打开plsql 这样原来的配置在系统环境中就生效了 再重启就不会再报错
Select * from V$NLS_PARAMETERS where PARAMETER='NLS_CHARACTERSET'; Select USERENV('LANGUAGE') from DUAL; -
zabbix4.0中文乱码
2020-11-26 17:01:45whereis zabbix:利用whereis查询zabbix的路径 cd /usr/share/zabbix------mkdir fonts:查看是否有fonts文件夹,如果没有则创建 rz:把刚刚粘贴到桌面上的东西传到Linux上 最后一定要重启 验证 -
vertica中增加表的中文表名和中文注释
2018-10-15 10:56:06表名称 is '表中文名称'; 例: comment on table test.aaa is 'aaa测试表'; 2、增加表中文注释 2.1、增加表中文注释需要查出projections select projection_name from PROJECTIONS where owner_name = '用户名' ...1、增加表中文名称sql
comment on table 用户名.表名称 is '表中文名称';
例:
comment on table test.aaa is 'aaa测试表';
2、增加表中文注释
2.1、增加表中文注释需要查出projectionsselect projection_name from PROJECTIONS where owner_name = '用户名' and anchor_table_name = '表名称' limit 1;
例:
select projection_name from PROJECTIONS where owner_name = 'test' and anchor_table_name = 'aaa' limit 1;
查出:
aaa_b0
2.2、增加表中文字段注释comment on column 用户名.分区.字段 is'字段中文注释';
例:
comment on column test.aaa_b0.id is '序号';
3、最后
commit;
-
Ubuntu自动启动中文输入法
2011-03-27 11:03:001. whereis ibus, and get the right path of the ibus-daemon.(/usr/bin/ibus-daemon) 2. add this command in startup-application. -
Airflow 中文文档:快速开始
2018-11-28 20:00:55# airflow needs a home, ~/airflow is the default, # but you can lay foundation somewhere else if you prefer # (optional) export AIRFLOW_HOME = ~/airflow # install from pypi using pip pip in... -
ubuntu下pycharm设置中文方法
2018-08-25 21:07:43可以用whereis pycharm查看位置 whereis pycharm 我的是在/usr/lib/pycharm,放到该目录的子目录下即可 sudo cp ~/Downloads/resources_cn.jar /usr/lib/pycharm/lib/ 启动pycharm,此时已经有部分... -
CompatibleFieldSerializer deserialize field problem where default value not null
2021-01-12 06:11:27<div><p>the kryo version i used was 4.0.1 now, i found a problem where i use CompatibleFieldSerializer. i serialize an object A which has 4 fields fa="a", fb="", fc="c&... -
rust中文补丁steam_steam腐蚀中文设置
2021-01-11 19:46:37[详情]The main character of the game should be sent to extract fuel after he has been ... The factory, where the robot was constructed is in process of creating experimental jetpack with modern f... -
ubuntu下解决mysql中文乱码问题
2020-08-08 00:39:00whereis mysql 查看位置信息,我的机器显示的信息如下 ubuntu@VM-0-14-ubuntu:~$ whereis mysql mysql: /usr/bin/mysql /usr/lib/mysql /etc/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz 进入/etc/... -
FreeBSD8.2中文化
2011-09-22 22:41:45# whereis wqywqy: /usr/ports/x11-fonts/wqy# cd /usr/ports/x11-fonts/wqy# make install clean 2、编辑/etc/X11/xorg.conf,让系统启动是加在中文字体 在Section "Files"里面加一行... -
报错:No enclosing instance of type ExtendsDemo is accessible.
2016-04-23 17:37:48英文提示报错:No enclosing instance of type ExtendsDemo is accessible. Must qualify the allocation with an enclosing instance of type ... x.new A() where x is an instance of ExtendsDemo). 中文翻译 -
CE中文版-启点CE过NP中文.exe
2019-01-02 09:42:23Mono instances window is now a treeview where you can see the fields and values "find what addresses this code accesses" can also be used on RET instructions now (useful to find callers) The graphical... -
U3D圣典中文学习版
2019-01-22 09:10:51This is where most game behaviour code goes, except physics code. 这个函数在运行一帧之前被调用.这是很多游戏运行行为代码的地方,除了物理代码. FixedUpdate: This function is called once every physics ... -
sunlight的中文_Diana Vickers的Sunlight中文歌词。
2020-12-30 05:53:02匿名用户12级2010-08-09 回答After the day goes,当一天又过去了And all the tears flow,眼泪又决堤...没有可以依靠的肩膀Where do the dreams go,那些梦都哪去了呢When we're not sleeping,当我们从梦中醒来Is the... -
mysql rounddown_Is there a ROUNDDOWN() function in sql as there is in EXCEL
2021-01-21 03:17:14可以将文章内容翻译成中文,广告屏蔽插件会导致该功能失效:问题:Say I have a table which has two columns i.e. Quantity and Percentages where my percentages are in decimals. Now I want to multiply these two... -
SQLCookbook 中文版
2016-11-29 15:01:30前言:所有sql语句基于两张表dept和emp 1.1、从表中检索所有行和列select * from emp;...【查找部门号为10的员工信息】1.3、查找满足多个条件的行select * from emp where deptno=10 or comm is not -
【Laravel】查询构造器---使用orWhere的顺序对查询结果产生的不良影响
2018-07-23 20:22:00实现查询:获取模糊匹配中文名 || 英文名等于 “Sara” 并且 个人信息状态为“待审核” 的员工信息。 其中 $filter = ["eName" => "Sara", "status" => "待审核"]; 1 ->where(function($q) use($... -
MySQL语句中文字符处理
2018-03-31 13:44:10sql语句中出现中文字符... SELECT `建议零售价`, `实际零售价` FROM `商品信息` WHERE `建议零售价` IS NOT NULL AND `实际零售价` IS NOT NULL ORDER BY `建议零售价` DESC, `实际零售价` DESC LIMIT 10; 命令行... -
Scratch-2.0入门指南(中文版).pdf
2020-02-05 22:10:43Scratch-2.0入门指南(中文版) https://scratch.mit.edu/ Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations. -
php 中文查询问题求解
2015-03-04 01:58:22select * from user where USER_ID = '姓名' Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in......... 当姓名换成英文的就可以正常查询,但换成中文的就无法查询,求... -
centos java服务器 awt生成图片,中文乱码
2020-11-21 11:38:53linux字体库的位置可通过 whereis fonts 查看: 其路径 /usr/share/fonts 2、安装汉字库缓存 yum install mkfontscale yum install fontconfig 安装完成后 通过命令 mkfontdir 创建/usr/share/fonts 文件夹(如果... -
oracle 识别中文,全角
2012-09-06 17:33:23select count(*) from t where asciistr(member_id) like '%\%'; 这个SQL 识别中文,全角.. ...select Count(*) FROM t_member WHERE translate(member_id, '\1234567890', '\') IS NOT null 识别是否是非数字 ... -
(ORACLE)sql判断一个字段是否全数字 或含有中文及统计某个字段中中文的个数
2018-05-28 16:21:36一、判断一个字段是否全数字 或含有中文update (select length(t.name), t.* -- name,length(name) from g_enterprise_info t where nvl2(translate(name, '\1234567890 ', '\'), 'is ch... -
mysql按中文字段排序
2015-12-12 12:24:55不用管你的mysql 数据库建库和建表的时候采用的什么编码集,按中文排序的时候只需要把name字段换成你自己需要的字段就...SELECT * FROM `b_brand` WHERE `name` is not null ORDER BY convert(name USING gbk) COLL... -
xampp中向mysql数据库插入中文都变成了问号
2019-08-30 16:54:46在用navcat导入excel数据到mysql的时候,发现中文数据变问号了。这里记录下如何解决。 第一:设置my.ini的编码,有四个地方 # Example MySQL config file for small systems. ...= 64M) where MySQL is only used ... -
2019大学同学毕业感言一句话中文英语版.doc
2021-01-15 17:25:35if you feel lonely far away from home,look up at the stars in the sky, where there is a star for luck that ive send you. 朋友,你喜欢星空吗?如果有一天你在远方流浪时感到孤独、忧郁,请抬头看看星空,... -
查看视图带中文的
2017-06-22 10:59:57select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b where a.is_ms_shipped=0 and a.obj... -
用英语表达的中文谚语
2010-11-16 16:22:40谚语格言 1.Practice makes perfect. 熟能生巧。 2.God helps those who help ...4.Where there is a will,there is a way. 有志者事竟成。 5.One false step will make a great difference. 失之毫厘,谬之千里。