Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #9078

Re: Converting from std::wstring to UTF-8 std::string

From Nobody <nobody@nowhere.com>
Subject Re: Converting from std::wstring to UTF-8 std::string
Date 2011-08-19 18:21 +0100
Message-Id <pan.2011.08.19.17.21.52.821000@nowhere.com>
Newsgroups comp.lang.c++
References <7ebdb5cb-3555-4657-9b74-c5af9157af1b@r12g2000vbe.googlegroups.com> <cone.1313773186.721641.29376.500@monster.email-scan.com>
Organization Zen Internet

Show all headers | View raw


On Fri, 19 Aug 2011 11:59:47 -0500, Sam wrote:

> For a portable solution, just instantiate a UTF-8 locale,

Which one?

AFAIK, there is no guarantee that any given platform even has a UTF-8
locale.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Converting from std::wstring to UTF-8 std::string Peter Poulsen <pgpoulsen@gmail.com> - 2011-08-19 09:34 -0700
  Re: Converting from std::wstring to UTF-8 std::string Victor Bazarov <v.bazarov@comcast.invalid> - 2011-08-19 12:44 -0400
  Re: Converting from std::wstring to UTF-8 std::string Sam <sam@email-scan.com> - 2011-08-19 11:59 -0500
    Re: Converting from std::wstring to UTF-8 std::string Nobody <nobody@nowhere.com> - 2011-08-19 18:21 +0100
  Re: Converting from std::wstring to UTF-8 std::string Paavo Helde <myfirstname@osa.pri.ee> - 2011-08-19 12:48 -0500
    Re: Converting from std::wstring to UTF-8 std::string Joshua Maurice <joshuamaurice@gmail.com> - 2011-08-19 14:13 -0700
      Re: Converting from std::wstring to UTF-8 std::string Marc <marc.glisse@gmail.com> - 2011-08-19 22:09 +0000
  Re: Converting from std::wstring to UTF-8 std::string Nobody <nobody@nowhere.com> - 2011-08-19 19:01 +0100
  Re: Converting from std::wstring to UTF-8 std::string john <gmlrTOGLI@DELTHISlibero.it.DELCAPS> - 2011-08-19 20:37 +0200

csiph-web