Copy link to clipboard
Copied
Hello,
I am reading Mif reference from http://help.adobe.com/en_US/framemaker/mifreference/mifref.pdf and there is a sentence that says "because a MIF file can contain only standard ASCII characters and because of MIF parsing requirements, you must represent certain characters with backslash (\) sequences". When you open a mif file in notepad that has copyright character © in text, you can see it as is. So my question is which character set is used for writing MIF files, US_ASCII or some extension like ISO_8859?
Kind regards,
Zeljko
Copy link to clipboard
Copied
Hi,
this is only for the FrameMaker reserved characters.
You can use the Unicode hex notation or insert the characters directly. Like this:
<String `Руководство пользователя'>
or like this:
<String `\u0420 \u0443 \u043A \u043E \u0432 \u043E \u0434 \u0441 \u0442 \u0432 \u043E \u0020 \u043F \u043E \u043B \u044C \u0437 \u043E \u0432 \u0430 \u0442 \u0435 \u043B \u044F'>
(Please note the space between each Unicode definition.)
Copy link to clipboard
Copied
Zeljko,
The section you quoted does refer to the ASCII character set several times. However, the section on "MIF data items" defines a string to be "Left quotation mark ( ` ), zero or more standard ASCII characters (you can also include UTF-8 characters),
and a straight quotation mark ( ' )".
I wonder if the references to ASCII are leftover from an earlier version of the MIF reference, before FM supported Unicode. Stefan, do you remember when MIF switched to UTF-8? Was it in FM8 which introduced FM support, or in FM9?
--Lynne