Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • This allows you to write to UTF-7, the string can be in any encoding i believe Commented Nov 26, 2009 at 11:21
  • 1
    NOTE: If there are some characters in the string that is not supppored by UTF-7, it will be lost Commented Nov 26, 2009 at 11:22
  • Looks rather more Java than C++ to me. Commented Nov 26, 2009 at 11:51
  • 1
    @Kylotan, I was thinking it looked more like C#, but same point: OP wanted a C++ answer. Commented Nov 26, 2009 at 11:57
  • @Xander: UTF-7 is a Unicode encoding, like the UTF-16 used by .Net. Now there are characters outside of Unicode (Klingon for instance) but you can't lose those by converting between different Unicode representations. Commented Nov 26, 2009 at 13:33