• Post Reply Bookmark Topic Watch Topic
  • New Topic

Code conversions

 
Fernando Payerpaj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to know how a server's Java programs could convert incoming messages from EBCDIC to ASCCI (or Unicode). The message format could include a flag that would indicate the message's encoding (EBCDIC/ASCII) in a way that is common to both types of encoding.
Thanks in advance.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way would be to use XML as the xml prologue contains the encoding and major parsers will understand these character encodings.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!