Reply
 
Thread Tools Display Modes
  #1   Report Post  
DenVog DenVog is offline
Junior Member
 
Posts: 0
Question RTF Escape Double-byte Characters

I am hoping that you can offer some insight, or at least point me in the right direction, for an RTF issue I am running into. In short, I need a scheme for escaping double-byte characters in a way that the doc can be read in Microsoft Word.

I am the developer of an iPad app that allows users to type their own text into the program. Then I do some very basic formatting and export to an RTF file. It works fine for Roman characters, but double-byte characters (e.g. Japanese, Chinese) have been a challenge to say the least. I have tried several approaches. The current best scheme is to generate a \ud{\uc0 ... } wrapper and convert the characters to \uNNNNN sequences.

Input:
blah は凄くいいアップです blah åèüñ blah

Escape Formatting:
blah \ud{\uc0\u12399\u20932\u12367\u12356\u12356\u12450 \u12483\u12503\u12391\u12377} blah \ud{\uc0\u229\u232\u252\u241} blah

It is working with TextEdit and Open Office but not Microsoft Word. Word for Mac 2004 and 2008 seem to skip the escaped characters altogether.

Thanks very much for your time and any assistance you can offer.
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2003 - no double characters, please help! willowcrown Microsoft Word Help 2 December 5th 08 05:00 PM
Mailmerge plain textfile selects double-byte (Chinese) characterse ElPayode Mailmerge 1 June 7th 07 05:13 PM
Replacing double paragraph characters Wally Wombat Page Layout 1 January 18th 07 11:32 PM
How do I overstrike / double-strike characters in word? David Microsoft Word Help 4 February 17th 06 06:51 PM
Weird characters (double question marks) in text Jan Fransen Microsoft Word Help 2 September 19th 05 05:17 PM


All times are GMT +1. The time now is 02:23 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"