开发者

xlsx xml parser support of special charaters

开发者 https://www.devze.com 2023-02-12 22:19 出处:网络
the Xlsx seems not to support the standard of xml , which requires the xml to \"understand\" the 5 <>\'\"& as &name; and have very strange behavior.

the Xlsx seems not to support the standard of xml , which requires the xml to "understand" the 5 <>'"& as &name; and have very strange behavior.

anyone knows what to inject to 开发者_Python百科sharedStrings.xml when use of <>'"& inorder for it not to break the file?

Edit : as it seems the ' can be replaced with ' & can be replaced with &


xlsx format does not support all the special characters, as there xml does not expect to handle ascii format. the solution is to use unicode format.

if you do have a problem then you cant convert to ascii format all the charachters, and you have to change not one of the special 5 like insert space instead.

im not sure that excel developers tested xml files that are declared in the first tag not beening UTF-8

0

精彩评论

暂无评论...
验证码 换一张
取 消