Is there a simple portable way (win32, linux at least) to convert UTF-16 to UTF-8 and vice versa? It is preferable to use boost.
thanks for your help, Tobias
Both libiconv and icu can do this.
Well, if this is for academic purposes, you can convert to UTF-32, and then to UTF-8 or UTF-16. Unicode.org has a handy PDF that contains a bitmap table for UTF-32, UTF-16, and UTF-8.
Source: https://habr.com/ru/post/1301669/More articles:Make your GUI more responsive - javaWhy use BeginInvoke here? - c #Implementing runtime value with Spring? - javagetting input numbers from user - c ++C # Wait for all threads to complete in ThreadPool - multithreadingC ++ Socket Windows - c ++iphone target C alloc / release question - memoryMenu open and close event - c #Aggregate values ββin Doctrine_RawSql queries - phpNull in String.Format args throws NullReferenceException even arg not in the result string - c #All Articles