This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
This works fine, resulting in the the widened form with the upside down '!' and the en-yay; however, if I cut the source string off at the first byte of the encoded en-yay:
std::string from("\xC2\xA1Hasta ma\xC3");
the codecvt facet in method still returns 'ok' and simply ignores the incomplete UTF-8 sequence. Shouldn't it have returned 'partial'?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |