- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- codepages, the saga begins
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
09-24-2002 11:48 PM
09-24-2002 11:48 PM
codepages, the saga begins
---------
- hpux 11.0
- codepage on unix : hp-roman8
- codepage on winNt : cp1252 (iso 8859-1 is +/- the same)
- eurosign-position in roman8 : 0xa4
- eurosign-position in cp1252 : 0x80
the question :
------------
how the hell can i convert the eurosign from hp-roman8 to cp1252 ?
the futile tries :
----------------
# first thought
echo "\0244"|iconv -f roma8 -t iso81|xd -N 1
-> returns 0xca, not 0xa4
# aha, iso81 has an euro-successor : iso815
echo "\0244"|iconv -f roma8 -t iso815|xd -N 1
-> iconv: can not initialize the conversion
-> no direct conversion possible
# the workaround :
echo "\0244"|iconv -f roma8 -t ucs2|iconv -f ucs2 -t iso815|xd -N 1
-> returns 0xca, not 0xa4
# maybe iso81 is not the same as cp1252
# good thing : mq-series installs a cp1252 on the system !
echo "\0244"|iconv -f roma8 -t cp1252|xd -N 1
-> returns 0xca, not 0xa4
conclusion :
----------
the force is not with me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 11:57 PM
09-24-2002 11:57 PM
Re: codepages, the saga begins
I may be on the wrong track but:- ux2dos ?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 12:09 AM
09-25-2002 12:09 AM
Re: codepages, the saga begins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 12:14 AM
09-25-2002 12:14 AM
Re: codepages, the saga begins
-> returns 0xa4
BUT, i made a mistake, all the commands should return 0x80 (the input is 0xa4). My mistake.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 12:28 AM
09-25-2002 12:28 AM
Re: codepages, the saga begins
hth
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 12:48 AM
09-25-2002 12:48 AM
Re: codepages, the saga begins
i'm keeping it as a last aid.
thx