`
ihuashao
  • 浏览: 4560398 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

Could not parse the file: c:\matlab7\toolbox\ccslink\ccslink\info.xml

阅读更多

matlab7启动时出现以下提示:

The element type "name" must be terminated by the matching end-tag "</name>".
Could not parse the file: c:\matlab7\toolbox\ccslink\ccslink\info.xml

按cp1252编码打开info.xml,可以看到该文件的第8行和第24行有字符®,例如:

<name>Link for Code Composer Studio®</name>

就是注册标记®造成了编码问题。cp1252是英文系统的默认编码。字符®在cp1252中的编码是0xae。中文系统以默认的GBK编码打开文件时会将®及其后面的字节读成一个汉字,所以就读不到®后面的字符<。

解决问题的方法很简单。删掉®。或者把这个文件另存为没有bom的utf-8编码文件。我处理纯文本文件通常都使用我自己写的一个叫cnbook的小程序。cnbook可以识别这个文件的编码,也可以保存没有bom的utf-8编码文件。

对于不熟悉文本编码的朋友,我可以提供utf-8编码的info.xml,从这里下载:

http://www.fmddlmyy.cn/down2/info.rar

覆盖掉原来文件就可以了。

这个问题其实无关紧要。不过如果天天要用matlab,也可以去掉它。

分享到:
评论

相关推荐

    java.text.ParseException: Unparseable date: 2/10/2010 15:20:05

    NULL 博文链接:https://speed-guo.iteye.com/blog/903163

    annotations.zip

    Android Build 时报错: java.io.IOException: Could not parse XML from android/accounts/annotati...Android构建时报错: app:lintVitalRelease[Fatal Error] :3:214: 与元素类型 “item” 相关联的 “name” ...

    纯C语言XML解析xmlparse.c&xmlparse;.h

    精短高效的XML解析器,纯C单一程序,应用于银行的国税库行横向联网接口系统中,稳定可靠,运行速度飞快,非相应的JAVA程序可比.此处为完整源码

    JSON2.JS JSON.JS JSON_PARSE.JS

    json2.js: This file creates a JSON property in the global object, if there isn't already one, setting its value to an object containing a stringify method and a parse method. The parse method uses ...

    JSqlparser4.4版作者提供的应急版,解决无法解析mysql中JSON_OBJECT函数存在其它函数问题

    如下sql,JSON_OBJECT函数中存在CAST函数,随后报出ParseException问题! SELECT JSON_ARRAYAGG(obj) FROM (SELECT trt.relevance_id,JSON_OBJECT('id',CAST(trt.id AS CHAR),'taskName',trt.task_name,'openStatus'...

    asm5.0.jar

    Error creating bean with name 'sqlSessionFactory' defined in URL [file:/E:/cloudwave-core/src/main/webapp/WEB- INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception ...

    Downloads.zip

    Could not read /Users/panxin/Library/Android/sdk/platform-tools/api/annotations.zip java.io.IOException: Could not parse XML from annotations/android/widget/annotations.xml 请将本文件解压后的...

    纯C语言解析XML字符串含实例

    王柱石wzs 纯C语言解析xml字符串,有实例,保证可用,含makefile xmlparse.c xmlparse.h testxml.c 目录:/export/home/chcard/testxml 日志:/export/home/chcard/log testxml.c 是一个测试用例,包含了常用的方法...

    ApkIDE3.3.0.0作者原版,解决常见apk打包安装问题.rar

    adb: failed to install SystemActivities.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl1716187195.tmp/base.apk (at Binary XML file line #0): Requires newer...

    annotations.zip app:lintVitalRelease[Fatal Error] :3:214: 与元素类型 “item” 相关联的 “nam

    用于解决,Android构建APk时报错: ...java.io.IOException: Could not parse XML from android/accounts/annotations.xml 将上述文件替换替换SDK目录下的/platform-tools/api/下对应的文件即可解决

    android-parse-demo:www.parse.com

    Android解析示例 parse.com dependencies { compile ' com.parse.bolts:bolts-android:1.2.1 ' }

    Jboss启动报Failed to parse WEB-INFweb.xml; - nested throwable错误

    Jboss启动报Failed to parse WEB-INFweb.xml; - nested throwable错误

    纯C语言解析xml字符串

    纯C语言解析xml字符串,有实例,保证可用,含makefile xmlparse.c xmlparse.h testxml.c 目录:/export/home/chcard/testxml 日志:/export/home/chcard/log testxml.c 是一个测试用例,包含了常用的方法,并有注解 ...

    parseXML.js

    Nodejs: Using for Parsing the XML file from the program

    XML_toolbox_matlab

    matlab平台下的xml工具箱,轻松实现xml文件的读写操作,一个函数轻松搞定,还有帮助文档。

    java调用net开发的webservice实例

    javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: org.xml.sax.SAXParseException: The element type "p" must be terminated by the matching end-tag ...

    X509Parse.exe

    x509工具,签名工具,一键获取指纹md5,签名 等。X509Parse.exe, 可以获取签名所有者 签发人 序列号 指纹md5 sha1

    人体姿态估计的强大算法

    parse_matlab parse_matlab\parseHorse.m parse_matlab\condenseLRResp.m parse_matlab\README parse_matlab\expected_genmodel_FHedgesN.m parse_matlab\util parse_matlab\util\imvq16.m parse_matlab\util...

    解决dbf Failed to parse Number: For input string: "-.---"

    附件解决dbf读取文件时遇到乱码问题,下载下来可以直接使用,无需使用dbf的jar包了,可以直接使用.

    crypto-js base64

    var key = CryptoJS.enc.Utf8.parse("1234567890000000"); //16位 var iv = CryptoJS.enc.Utf8.parse("1234567890000000"); var encrypted = ''; if (typeof(word) == 'string') { var srcs = CryptoJS.enc.Utf...

Global site tag (gtag.js) - Google Analytics