Write Chinese and English string in word document containing Table using actxserver

1 回表示 (過去 30 日間)
Vishal
Vishal 2021 年 6 月 29 日
回答済み: Walter Roberson 2021 年 6 月 29 日
I need to create Table in word document using actxserver from M-Script. If table has only English string then those are shown without any issue. If Table strings include both English and Chinese characters, then I see ony English charactres/strings are written properly by script. Chinese characters are written as '?'.
The Table is defined cell array. when chinese characters included in string particular those characters read as '?'.
Declaration in M-script -
TableOfErrorInfo = {'Str11', '释放所据', 'Str22';
'Str21', 'Str22', 'Str23'};
in database
TableOfErrorInfo = {'Str11', '????', 'Str22';
'Str21', 'Str22', 'Str23'}
instaed of actual definition i see question marks. Due to this Table pasted in word document also i see '????'.
Please help to resolve same if there is patch of code to resolve this issue.

回答 (2 件)

Vishal
Vishal 2021 年 6 月 29 日
@MathWorks Support Team Can you please help in query?

Walter Roberson
Walter Roberson 2021 年 6 月 29 日
This is not something I have ever worked on myself (I do not have Word installed, and I mostly use Mac)

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by