Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unicode/String conversion questions  RSS feed

 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!