• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to change the default encoding  RSS feed

zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my java project,i use the OS default encoding to transfer the data between server socket and client socket,when i run both server and client side in the chinese version windows,it works well.
but when i deploy the server side to redhat, the chinese charactors can't be display CORRECTLY(the english works well). i guess that is because the server side and the client side use the different encoding. but i don't want to modify my program,i wonder if i can modify the DEFAULT encoding of redhat to chinese (that is GB2312) from the command line because i never install xwindows in my linux.

thank you for any helps!!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!