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] Dev Studio 7.7 displays "á" instead of a space

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Dev Studio 7.7 displays "á" instead of a space
 Login/Join
 
Member
posted
We have several focexecs that have the Define
"SP/A1 = HEXBYT(160, 'A1');"
which is used to display a space on reports. After going to R7.7.02 it now displays as a lowercase "a" with a tic mark above it (á). Hopefully this is just a setting that needs to be changed.

Has anyone seen this before?

Thanks,
Ted

This message has been edited. Last edited by: Kerry,


Dev Studio 8.0.09
App Studio 8.2.01
DB2, FOCUS
PDF, HTML, Excel, CSV
In Focus since 1983
 
Posts: 26 | Location: Cincinnati, OH | Registered: August 22, 2007Report This Post
Virtuoso
posted Hide Post
you are correct...7.7.02 is doing this. Now how do we fix it? Have you opened a case with IBI?
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Master
posted Hide Post
Per this site: http://www.asciitable.com/ I think that is (should be) correct behavior, Ted.

It looks like 32 is actually the space code. Does this fix it?

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Master
posted Hide Post
Furthermore, in 7.6.11 I get the following results:

DEFINE FILE CAR
	SP/A1 = HEXBYT(160, 'A1');
	SP1/A1 = HEXBYT(32, 'A1');
END

TABLE FILE CAR
PRINT 
SP
SP1
*
WHERE RECORDLIMIT EQ 10;
END


Output:
<TD>
 </TD>
<TD>
&nbsp;</TD>


- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Virtuoso
posted Hide Post
In 7.6.1 both of those 160 AND 32 Result in a space. In 7.7.02 only 32 gives a space.

Is this one of those Code Tightning things? Frowner
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
Could this be a font or codebase issue ?


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Or is it that pre 77 HEXBYT only took ascii values lower than 128 and 77 and higher also takes values from 128 to 256? It looks that way ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Master
posted Hide Post
I was thinking codepage (or unicode or similar) might be the culpret. That is, relying on an unprintable character to display a space.

@Prarie - a subtle difference is that 160 prints a physical space character whereas 32 prints the html space entity ( &nbsp; ).

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Platinum Member
posted Hide Post
what was the fix to this? I'm having this problem as we go to Linux from Windows. Funky characters are appearing on webfocus reports instead of a space and looking at the data #160 is at the end of the field ... This issue is showing as closed, but not sure what the fix is that closed the issue.

Thanks.


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Virtuoso
posted Hide Post
quote:
Originally posted by ABT:
@Prarie - a subtle difference is that 160 prints a physical space character whereas 32 prints the html space entity ( &nbsp; ).


It is the other way around actually, 32 is a physical space and 160 is a non-breakable space. HTML folds multiple consecutive spaces into a single space, but doesn't do that with non-breakable spaces.

I notice that in the standard Windows encoding (CP 1252 or something) ALT-160 results in an á, which is what the OP is seeing.

If you're outputting HTML (where a non-breakable space makes sense), you can get the same result by using &nbsp; or &#160; instead of using HEXBYT().

Alternatively, figure out which encoding is being used in HEXBYT() (the encoding of your reporting server) and try to find the appropriate decimal code for the non-breakable space in that encoding.
Or change the encoding of your reporting server to match your desired output encoding, but that probably has interesting side-effects.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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] Dev Studio 7.7 displays "á" instead of a space

Copyright © 1996-2020 Information Builders