Checked on build 14407, 10-05-2026. “Type it” needs build 14397 or later; the two alternatives work on every build.
Question. How do I put Greek, Russian, Chinese or other Unicode text into an embed? The .app stores embed text in the Windows ANSI code page.
Answer: type it. Inside a '...' literal in any embed (Embed Editor or Embeditor), type the text and save. The literal is stored in the .app as its portable U'...' form, the same thing the Window and Report Designers do for a caption, and when you open the embed again the editor shows your letters: U'Привет'. Literals the code page can hold are saved byte-identical, so existing embeds do not change; only string literals are converted, a comment goes through the code page as before. The variable receiving it is a USTRING, declared in a data embed.
Two alternatives when you want the text visible in source control as plain ASCII:
- Spell the code points:
U'<1055,1088,1080,1074,1077,1090>'(decimal) orU'<3A9h>'(hex, trailing h), same result. - Put the statements in an include file saved as UTF-8 with a BOM and
INCLUDE('MyText.inc')it from a CODE embed. Two rules: the include’s statements are INDENTED (column 1 is the label column; unindented = “Expected: ” at the include line), and the INCLUDE sits in a code embed, never a data embed (there the assignment parses as a declaration: “Illegal data type” + “Expected: ” at the literal).
Help (the topic titles and index words that find it in the Help file): How do I put Greek, Russian, Chinese or other Unicode text into an embed? Index: one phrase per script (“Greek text in an embed”, “Japanese text in an embed”, …).