DITA and XMetaL Discussion
pmasal May 9, 2011 at 2:32 pm
Issues with CJK Editing in XMetaLMay 9, 2011 at 2:32 pmParticipants 3Replies 4Last Activity 11 years, 9 months ago
We are using XMetaL 5.5 EE Author/Server for Documentum Webtop. We are having many issues with the way CJK DITA topic content is displayed in XMetaL.
1. When we import the DITA topic content into our CMS and check it out via XMetaL, most of the characters appear garbled and do not publish correctly after the content is checked in. Please see the attached xmetal_check_out_cms_text_garbled_cjk.JPG.
2. We can fix the above problem temporarily by taking a file system CJK object, open it in XMetaL, and save it over the CMS object. However when we do that, we get garbled text when we insert xrefs or conrefs from other file system objects (never imported into the CMS). Please see the attached xmetal_insert_xref_text_garbled_cjk.JPG.
3. Regardless of whether the DITA topic is a CMS or file system object, the dialog box text for inserting cross references to content in the same topic is always garbled. Thus we never know if we are inserting a correct cross reference. Please see the attached xmetal_check_xref_dialog_text_garbled_cjk.JPG.
Can you please tell me if these are known issues and if there are any fixes we need to apply? Many thanks.
PaulDerek Read May 9, 2011 at 9:16 pm
Reply to: Issues with CJK Editing in XMetaLMay 9, 2011 at 9:16 pm
From the description and the screen captures my first suspect is the CMS. You are running DCTM though, and it supports Unicode (UTF-8) but perhaps it is not configured to save as UTF-8?
This might also just be a language rendering issue. If you are running XP do you have the “Install files for East Asian Languages” checkbox checked in Regional and Language Settings (Control Panel)?
That might explain why the characters are not displaying properly (they appear as the “missing character” glyph — a square). Might be easiest to send me an actual copy of the files (before and after being in the CMS) so I can confirm their encoding and whether they contain the correct characters (so that the files are actually OK but the software is not rendering properly).
Do you ever see correctly rendered Korean in your documents (sounds like you are saying they are OK before they go into / out of the CMS). If you do, but at some later point you do not, that smells very much like something is messing with the encoding of document.
I do see that our Cross-Reference Properties dialog is displaying “missing glyph” characters for Korean syllables as well unfortunately, even when a system is configured to support “East Asian Languages” as far as I can tell. I'm not sure why that is the case but I will let our devlopment team know. I think that's your #3.pmasal May 10, 2011 at 1:40 pm
Reply to: Issues with CJK Editing in XMetaLMay 10, 2011 at 1:40 pm
Hi Derek, thank you. The “Install files for East Asian languages” box is checked in Regional and Language Options, so I'm ok there.
We are running a localization workflow that exports English DITA objects from our CMS, ftp's them to a translation vendor, then imports them back into the CMS. When we receive the files back from the vendor, they are ok in the file system. When we import them into the CMS, they are still ok (and publish just fine). But when I check them out of the CMS to edit them, they display as garbled in XMetaL.
I'm attaching a zip file (EMC_dita_before_after_CJK_issue.zip) with the following:
_before.dita – Files that come back from vendor (OK)
_after.dita – Files exported from CMS (not OK)
Thanks for any help you can provide.
Derek Read May 10, 2011 at 11:25 pm
Reply to: Issues with CJK Editing in XMetaLMay 10, 2011 at 11:25 pm
The files do appear to be broken after exported from the CMS. I don't need to open them in XMetaL to see the broken or missing characters (the results are obvious in several Unicode-capable plain text editors I have). Some characters are missing a portion of their bytes (character encoding has been garbled) or have been replaced entirely with a question mark and one or more square brackets.
I don't think it is our integration with Documentum Webtop that could be responsible for this. There is a slim possibility, but our code merely asks Documentum Webtop to check out a particular file and place it in the Documentum cache. XMetaL then opens the file directly from the cache on your local drive.
I would remove XMetaL from your tests to confirm that this is not an XMetaL issue:
1) Use the Internet Explorer interface for Documentum Webtop to check out a document.
2) Navigate to that location using a 3rd party tool, such as Notepad, to view the document and confirm that it has some characters messed up.Derek Read May 10, 2011 at 11:34 pm
Reply to: Issues with CJK Editing in XMetaLMay 10, 2011 at 11:34 pm
Note that when I say the character is replaced by a question mark, that means directly in the file itself (not just rendering). I have confirmed this by examining the file using the binary editor in Visual Studio 2005 to examine the hex codes for each of the bytes in the “after” files.
- You must be logged in to reply to this topic.