]> granicus.if.org Git - taglib/commitdiff
Mention that String::toWString()/toCWString() doesn't return UTF-32 string.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Fri, 28 Aug 2015 04:36:30 +0000 (13:36 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Fri, 28 Aug 2015 04:38:22 +0000 (13:38 +0900)
taglib/toolkit/tstring.h

index 59611ab0a8c4def5fc80a843620c5d65a1755efd..8b73988231e7081fff746c4f72d7a0f707629d4b 100644 (file)
@@ -197,7 +197,8 @@ namespace TagLib {
 
     /*!
      * Returns a deep copy of this String as a wstring.  The returned string is
-     * encoded in UTF-16 (without BOM/CPU byte order).
+     * encoded in UTF-16 (without BOM/CPU byte order), not UTF-32 even if wchar_t
+     * is 32-bit wide.
      *
      * \see toCWString()
      */
@@ -226,7 +227,7 @@ namespace TagLib {
     /*!
      * Returns a standard C-style (null-terminated) wide character version of
      * this String.  The returned string is encoded in UTF-16 (without BOM/CPU byte
-     * order).
+     * order), not UTF-32 even if wchar_t is 32-bit wide.
      *
      * The returned string is still owned by this String and should not be deleted
      * by the user.