Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] German character display on report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] German character display on report
 Login/Join
 
Gold member
posted
Does anyone knows how to display German character on webfocus report without going to server change on the NLS?

For example, we have German language characters such as "ö". I want the webfocus report to display it correctly on the report.

Currently on the webfocs report, it's showing either "?" or "÷" instead of "ö".

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


Shirley Huang
WF 7.7.04M MRE BID DevStudio
WIN2003, SQL Server 2000/DB2
HTML/PDF/EXL2k/AHTML
iSM 6.16
 
Posts: 55 | Registered: May 05, 2006Report This Post
Platinum Member
posted Hide Post
Hello Shirley,

Have you looked into the HEXBYT function?
Use this as a DEFINE field:
SP/A1 = HEXBYT(246, 'A1');

And you will see the umlaut!


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup
 
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011Report This Post
Expert
posted Hide Post
I tried the character on my server in Canada and it displays correctly.

You MAY be able to alter the character set by doing the following: specify the character set in a meta tag.

Here's an example. You can try various character sets described here.

Below is an example. When I ran this example WITHOUT the meta tag, the report displayed the character, when I used our default meta tag it did not display correctly.

TABLE FILE CAR
PRINT
COMPUTE TEST/A100 = MODEL || (' ' | 'ö' | ' ' ) || BODYTYPE;
BY COUNTRY

ON TABLE HOLD AS H001 FORMAT HTMTABLE
END
-RUN

-HTMLFORM BEGIN
<!DOCTYPE html>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<html>

<head>
<meta charset="ISO646-DE">

<title>WebFOCUS Report</title>

<body>
!IBI.FIL.H001;
</body>

</html>
-HTMLFORM END



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
SWES - I tried your method, it didn't work for me.

Francis - Thanks! Your example will work if the report is in HTML format. What if the report format is in different format such as Excel/PDF/AHTML?

Many thanks!


Shirley Huang
WF 7.7.04M MRE BID DevStudio
WIN2003, SQL Server 2000/DB2
HTML/PDF/EXL2k/AHTML
iSM 6.16
 
Posts: 55 | Registered: May 05, 2006Report This Post
Platinum Member
posted Hide Post
Shirley, could you be more specific, what did you see on your screen?

DEFINE FILE CAR
SP/A1 = HEXBYT(246, 'A1');
END


TABLE FILE CAR
PRINT SP
BY COUNTRY
END


Should work, I just don't know in what context you would like the umlaut. For example in a HEADING or in a defined field or?


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup
 
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011Report This Post
Gold member
posted Hide Post
https://drive.google.com/file/...eVk/edit?usp=sharing


SWES - I'm still not seeing "ö".


Shirley Huang
WF 7.7.04M MRE BID DevStudio
WIN2003, SQL Server 2000/DB2
HTML/PDF/EXL2k/AHTML
iSM 6.16
 
Posts: 55 | Registered: May 05, 2006Report This Post
Platinum Member
posted Hide Post
That's strange... sorry can't open your link here.


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup
 
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011Report This Post
Virtuoso
posted Hide Post
This is why code pages are needed. In some environments ascii 246 will give the ÷ (what Shirley is seeing at times) and some the ö (what SWES is seeing). When and where is to big a subject here.

The answer is that you do need to set the code page on the server and client for the character set you are using, otherwise the character display is unreliable/wrong.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] German character display on report

Copyright © 1996-2020 Information Builders