- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem in getting cmd line agruments on korea...
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
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
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
04-03-2009 01:34 AM
04-03-2009 01:34 AM
Re: Problem in getting cmd line agruments on korean HPUX 11.11 machine
Yes, I guessed that. :-)
The value you are getting is that value. Your problem is that you need to convert that character encoding to java's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 01:45 AM
04-03-2009 01:45 AM
Re: Problem in getting cmd line agruments on korean HPUX 11.11 machine
No , i am not getting the expected value i.e the file name @ cmd line , its garbled
>>Your problem is that you need to convert that character encoding to java's.
if i convert the string to wchar_t , the iss ue will be solved i.e mbstowcs takes care pf conversion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 02:52 AM
04-03-2009 02:52 AM
Re: Problem in getting cmd line agruments on korean HPUX 11.11 machine
Please convert the correct name to hex and attach:
echo korean_filename | xd -tx1
>if i convert the string to wchar_t, the issue will be solved i.e mbstowcs takes care pf conversion
I printed the original hex string you provided, with %s and the wchar_t string with %ls and I got the same thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 03:38 AM
04-03-2009 03:38 AM
Re: Problem in getting cmd line agruments on korean HPUX 11.11 machine
> echo à à ±à | xd -tx1
0000000 c7 d1 b1 db a
0000005
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2009 03:09 PM
04-03-2009 03:09 PM
Re: Problem in getting cmd line agruments on korean HPUX 11.11 machine
0000000 c7 d1 b1 db a
This indicates everything is working. You have the right command line and you have the right wchar_t string. But you may have the wrong codeset for windows.
That's assuming when you do a "ls à  à  à ±à " it finds the file.
- « Previous
-
- 1
- 2
- Next »