Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Snippet with no US character

Community Beginner ,
Mar 26, 2019 Mar 26, 2019

Hi there

I want to change a variable in several files in a book. I'm using the following snippet:

<MIFFile 7.00> # Generated by FrameMaker 7.0p578

<VariableFormats

<VariableFormat

<VariableName `NombreGuia'>

<VariableDef `Guía de administración'>

> # end of VariableFormat

> # end of VariableFormats

# End of MIFFile

The problem comes when I import it, FM changes the characters "í" and "ó" with "Í" and "Ù".

Is there any workaround for this? any chance of use some scaped characters o ASCII code in a snippet?

Thanks a lot for your time

655
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2019 Mar 26, 2019

Hi Oscar,

I think that the problem is FrameMaker 7. This was the last version which did not know Unicode.

I tested this with FM 2019.

When I use your file, several characters are changed.

Then I changed the first line to:

<MIFFile 2019> # Generated by FrameMaker 2019

Then the imported variable had the correct value.

Which FrameMaker version do you have?

If you only have FM 7, then find the MIF reference PDF.

(I do not know, where it was in FM 7.)

There the various characters are described.

Best regards

Winfried

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 26, 2019 Mar 26, 2019

Thanks Winfried for your answer.

My FM version is 2019. I changed the snippet to "2019" but with no luck. Right now FM skips all no US characters.

"Guía de administración" -> "Gua de administracin"

Best regards

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2019 Mar 26, 2019

Which font do you use?

Does this font have all characters?

I tested this with the FrameMaker default template which uses Arial.

Can you check this as well?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 26, 2019 Mar 26, 2019

Yep, the font is "times new roman" and these characters are very common in spanish and other latin languages.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2019 Mar 26, 2019

Klaus Daube keeps an extensive library of FrameMaker references available online, including the FrameMaker 7 MIF Reference Guide. You can download a PDF from here: https://www.daube.ch/docu/fmaker69.html

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 26, 2019 Mar 26, 2019

wow linsims that link is a goldmine.

The pdf you mention gives me an idea: I created an empty doc with the string, save it to MIF and copy & past the string to the snippet. The extended characters are \x91 and \x97.

Thanks a lot!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2019 Mar 26, 2019
LATEST

Check out the rest of his site. He has tons of useful information and a few add-ins that I'm considering using for myself. I believe he is also one of Adobe's beta testers for new versions of Frame, so he often has deep insights into how Frame works that many of us don't.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines