From e178875b40e952fce8c81577310af194ec0322d8 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Fri, 28 Aug 2015 13:36:30 +0900 Subject: [PATCH] Mention that String::toWString()/toCWString() doesn't return UTF-32 string. --- taglib/toolkit/tstring.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/taglib/toolkit/tstring.h b/taglib/toolkit/tstring.h index 59611ab0..8b739882 100644 --- a/taglib/toolkit/tstring.h +++ b/taglib/toolkit/tstring.h @@ -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. -- 2.40.0