HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: briish pound symbol
Operating System - Tru64 Unix
1831554
Members
3797
Online
110025
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 10:26 PM
07-13-2005 10:26 PM
briish pound symbol
I am getting the following string sent to me in a file £ this is the hex entity value for the £ symbol in XML. I need to convert this to £. I have tried sed "s/\£/£/g" and when I cat the ooutput it does show the £ symbol, but when I vi the file I cannot see it and when I arrow over where it should be vi exits.
when I read the output file from a ProC file it thinks the £ is lower case p.
when I read the output file from a ProC file it thinks the £ is lower case p.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 07:56 PM
07-14-2005 07:56 PM
Re: briish pound symbol
Colin,
I have tested this on my Tru64 system, version V5.1b. Wether or not setting the language variable "LANG=en_GB.ISO8859-1" it worked fine without problems. I don't know what a "ProC" file is.
You should check the following:
Does your converted file really contain hex code "a3" for the pound sign? (according ISO 8859-1).
Terminal-settings (stty -a):
"cs8", "-istrip", "-parenb" and "-parodd" should be set.
"vi" may get problems if your file contains some other control codes instead. Also I know about some very old "vi" versions not able to deal with 8 bit characters.
Hope this helps, Erich
I have tested this on my Tru64 system, version V5.1b. Wether or not setting the language variable "LANG=en_GB.ISO8859-1" it worked fine without problems. I don't know what a "ProC" file is.
You should check the following:
Does your converted file really contain hex code "a3" for the pound sign? (according ISO 8859-1).
Terminal-settings (stty -a):
"cs8", "-istrip", "-parenb" and "-parodd" should be set.
"vi" may get problems if your file contains some other control codes instead. Also I know about some very old "vi" versions not able to deal with 8 bit characters.
Hope this helps, Erich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2005 10:31 PM
07-17-2005 10:31 PM
Re: briish pound symbol
Tried setting the LANG environment vaiable to en_GB.ISO8859-1 but made no difference.
My NLS_LANG is set to AMERICAN_UNITED KINGDOM.WE8ISO8859P1.
sed "s/\£/£/g" works fine on the command line but not from within a script.
My NLS_LANG is set to AMERICAN_UNITED KINGDOM.WE8ISO8859P1.
sed "s/\£/£/g" works fine on the command line but not from within a script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2005 06:00 PM
07-19-2005 06:00 PM
Re: briish pound symbol
Colin,
try the enclosed script (change the filenames in the scripts accordingly). This works on my Tru64 system, without $LANG setting.
Good luck, Erich.
try the enclosed script (change the filenames in the scripts accordingly). This works on my Tru64 system, without $LANG setting.
Good luck, Erich.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP