Focal Point
[CLOSED] Special Characters in Text File Giving Gibberish

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

October 30, 2009, 04:31 AM
Tewy
[CLOSED] Special Characters in Text File Giving Gibberish
I have a pipe delimited text file that I'm reading into webFOCUS. Its a fixed format file so I've created a master file to split out the fields, and all was going great until I came to a free text field, where the users appear to have used every special character known to man.

WebFOCUS is returning gibberish around or instead of those characters. Is there something I can do to enable WebFOCUS to read these characters properly.

Some examples of what's happening:

on the left of the equals is what's in the file on the right is what webfocus returns.
' = ’

" = ‥

¼ = ¼

½ = ½

– = –

£ = £

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


WF 7.6.11
Output: HTML, PDF, Excel
October 30, 2009, 12:23 PM
Darin Lee
The problem may not be in the "reading", but in the "writing." My guess is that those characters are either not in the font set being used for displaying the output (so they are translated incorrectly to a "best guess" character) or they are not available for the language(s) being supported. I've also seen differences when output to PDF vs. HTML.

You don't mention your platform in your profile so it may be a character translation issue as well (e.g. EBCDIC to ASCII).

Try a different font or character set to see if that makes any difference.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
November 01, 2009, 03:39 PM
Waz
Could also be unicode chars


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!