Focal Point
[CLOSED] Special character: ē

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3857093276

August 27, 2014, 11:50 AM
BKinPA
[CLOSED] Special character: ē
Hello-

We need to be able to display a special character in the heading of a report. The character is a lowercase e with an umlat ASCII character 275. Based on some other posts, we changed the client NLS setting to code page 137 and have tried 137 and 923 on the server side.

The code contains a set command:
-SET &char=HEXBYT (275,A1)

and the Heading where is needs to be displayed is:

HEADING
"Mondel&|#275z Business Review"

The character displays correctly when output to HTML but not to PDF or PowerPoint. What are we missing?

Thanks,
Barb

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 8.1.05, 8.2.01
August 27, 2014, 05:35 PM
Waz
Hi Barb,

It doesn't look like you used &char in the heading.

Is the heading the actual code ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

August 28, 2014, 03:50 AM
Alan B
The character you describe, ē, is not an e umlaut, which is dec235, but an e macron.
I do not think that WebFOCUS code pages actually support the macron characters.
If it was an e umlaut you would be fine using 137 or 923 code page.


Alan.
WF 7.705/8.007
August 28, 2014, 08:34 AM
BKinPA
WAZ- my mistake. I copied from another post. When changed to &char it has unprintable characters.

Alan- thansk for the info on the macron. Curiously, why does it display properly if I output to HTML?

Thanks,
Barb


WebFocus 8.1.05, 8.2.01
August 28, 2014, 08:43 AM
Alan B
Using the HTML entity for dec275 will display the ē in HTML, that is what they are for, that is why you can see it in the forum. However this bypasses any dependence on WebFOCUS. Using the &char variable, as you say, will display unprintable characters as the WebFOCUS code pages do not appear to support macron characters.


Alan.
WF 7.705/8.007