本文介绍了项目符号点的rtf语法是否正确?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须制作一个RTF到html转换器。我有一个已经编码的应用程序,但它有一些错误..
每当我输入一个子弹点它崩溃



原始Rtf

因行而崩溃

如果我删除这行,Rtf将成功转换为html。我是Rtf语法的新手。所以我的问题是......这个Rtf语法在第一个地方是正确的吗?

显示 \''无效 - \'后面应跟着一个十六进制值,但在您的示例中后面跟着另一个撇号(然后是十六进制值)。


I have to make an rtf to html converter. I have an already coded application but it has some bugs..Whenever i enter a bullet point it crashes

Original Rtf

It crashes because of the line

If I remove this line the Rtf is converted to html successfully. I am new to Rtf syntax. So my question is...is this Rtf syntax correct in the first place?

解决方案

The RTF specification shows that \'' is not valid - \' should be followed by a hexadecimal value, but in your example it is followed by another apostrophe (and then by a hexadecimal value).

这篇关于项目符号点的rtf语法是否正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 10:03