Office中国论坛/Access中国论坛

标题: RICHTEXTBOX 乱码 [打印本页]

作者: fghjkl    时间: 2020-2-22 11:26
标题: RICHTEXTBOX 乱码
我使用richtextbox 载入了一个rtf文件,全是文字的,无特殊效果。大概在3500字左右。先显示了内容,马上就变成了各种代码。删除部分内容重新载入。能正常显示。
求解决办法
作者: fghjkl    时间: 2020-2-22 11:27
变成了:
bidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'cb\'ce\'cc\'e5{\*\falt SimSun};}{\f17\fbidi \fmodern\fcharset134\fprq1{\*\panose 02010609060101010101}\'ba\'da\'cc\'e5{\*\falt SimHei};}
{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f46\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}@\'cb\'ce\'cc\'e5;}
{\f47\fbidi \fscript\fcharset134\fprq0{\*\panose 00000000000000000000}\'b7\'bd\'d5\'fd\'ba\'da\'cc\'e5_GBK{\*\falt \'ce\'a2\'c8\'ed\'d1\'c5\'ba\'da};}{\f166\fbidi \fmodern\fcharset134\fprq1{\*\panose 02010600030101010101}@\'ba\'da\'cc\'e5;}
{\f489\fbidi \fscript\fcharset134\fprq0{\*\panose 00000000000000000000}@\'b7\'bd\'d5\'fd\'ba\'da\'cc\'e5_GBK;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
{\fdbmajor\f31501\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'cb\'ce\'cc\'e5{\*\falt SimSun};}{\fhimajor\f31502\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0302020204030204}Calibri Light;}
{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
{\fdbminor\f31505\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}\'cb\'ce\'cc\'e5{\*\falt SimSun};}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}
{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f490\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f491\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
{\f493\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f494\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f495\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f496\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
{\f497\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f498\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f500\fbidi \fswiss\fcharset238\fprq2 Arial CE;}{\f501\fbidi \fswiss\fcharset204\fprq2 Arial Cyr;}
{\f503\fbidi \fswiss\fcharset161\fprq2 Arial Greek;}{\f504\fbidi \fswiss\fcharset162\fprq2 Arial Tur;}{\f505\fbidi \fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f506\fbidi \fswiss\fcharset178\fprq2 Arial (Arabic);}
{\f507\fbidi \fswiss\fcharset186\fprq2 Arial Baltic;}{\f508\fbidi \fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f622\fbidi \fnil\fcharset0\fprq2 SimSun Western{\*\falt SimSun};}{\f662\fbidi \fmodern\fcharset0\fprq1 SimHei Western{\*\falt SimHei};}
{\f830\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f831\fbidi \froman\fcharset204\fprq2 Cambria Ma
作者: admin    时间: 2020-2-25 16:17
字数限制吗?没有试过,提供附件看看




欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3