- This line was added.
- This line was removed.
- Formatting was changed.
The script data source window does not support superscript ASCII characters. This article will outline how to get around this limitation and concatenate high ASCII characters, such as ™ © ®, in a script.
How to Concatenate Superscript ASCII Characters in a Script
Set up a scripting field and an input field on a new label.
- Create an output field (must use language wizard/field override UTF-8 or UTF-16).
- Modify the example below using the names of the fields on your label.
Copy the modified script into the scripting field data source window.
- You can change the character by using the Character Map tool to get the U+xxxx code.
Image RemovedImage Added
//Begin var coName = String(label.fields.field.(@name == 'CoName').@data); //concat "TM" symbol \u value found in character map coName = coName + "\u2122"; label.fields.field.(@name == 'CoName_TM').@data = coName;
If the Company Name (coName) in the example above was LOFTWARE the result would be:
|Content by Label|
Loftware Label Manager 9.5.3 and higher
All supported Loftware environments
This table provides information that is visible only to Loftware users.