[Dev-C++] String encoding between Server-Client connection
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jonathan M. G. <jgu...@nt...> - 2003-03-07 06:47:33
|
Hello Gurus, For days, I have been trying to find a solution about a bug on my prototype. As all of you can see, the Client is a VC++ implementation that sends a japanese message string to a Linux C++ Server. The connection seems correct but during the time I try to display the string message, it is corrupted. Please take note that both OS supports Japanese encoding as its default locale. When sending back the string message to the VC++ Client, the Japanese string message is displayed correctly. My guess is that Linux can't handle Window's Japanese encoding (SJIS). Does any of you encountered the same problem before? It would be a great help for me for any information from you. :) Thank you very much. -- Jonathan. |