GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- C++ server program fails read chinese string send ...
Operating System - HP-UX
1845906
Members
4447
Online
110250
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
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
03-04-2005 07:57 AM
03-04-2005 07:57 AM
C++ server program fails read chinese string send from Java Client program
I’m developing a client-server enterprise program which supports multiple languages such as Chinese. Client program is java GUI that sends data to/form server, which is C++ program running on HP10.20. The program works very well on English language environment. When we set locale to Chinese on both client and server, Java Client part will display Chinese GUI and mostly it communicates with server as we expected. But when client sends Chinese data or string (which is from JTextField component where user can type in Chinese information ) to server, server can not read the string correctly, instead it will show something like “\224H”.
Anybody here experienced such issue? Any help is highly apprec
Anybody here experienced such issue? Any help is highly apprec
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 06:43 AM
03-09-2005 06:43 AM
Re: C++ server program fails read chinese string send from Java Client program
I have solved the problem by myself.
The reason C++ server program failed to read chinese strings was:
Jave client should use the same character set encoding as the server does. Since my server locale is zh_TW.big5, so my java client should send data in 'big5' format instead of 'UTF-8' format.
The reason C++ server program failed to read chinese strings was:
Jave client should use the same character set encoding as the server does. Since my server locale is zh_TW.big5, so my java client should send data in 'big5' format instead of 'UTF-8' format.
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 2026 Hewlett Packard Enterprise Development LP