aspose file tools*
The moose likes Java in General and the fly likes Unicode/String conversion questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unicode/String conversion questions" Watch "Unicode/String conversion questions" New topic
Author

Unicode/String conversion questions

Brian Pipa
Ranch Hand

Joined: Sep 29, 2003
Posts: 299
I'm not even sure this has anything to do with Unicode, but I wasn't sure what subject to use.
Can anyone tell me how this string:
Pr�t-�-Porter
can be converted to this string:
Pr��t-�-Porter
i.e. - what algorithm/encoding is being used?
Background:
I am outputting a file in a format that another program can read. When I output the first string, it chokes. When I use the native program, it outputs the 2nd string. What do I need to do in my code to output the 2nd string, given the first string?
Thanks,
Brian


My Java Freeware:<br />MACCC - <a href="http://maccc.pipasoft.com" target="_blank" rel="nofollow">http://maccc.pipasoft.com</a><br />Nator - <a href="http://nator.pipasoft.com" target="_blank" rel="nofollow">http://nator.pipasoft.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unicode/String conversion questions