Changeset 83943 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Apr 23, 2020 10:43:21 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/utf-16-printf.cpp
r83837 r83943 80 80 RTUNICP uc; 81 81 int rc = RTStrGetCpNEx(&pachChars, &cbChars, &uc); 82 AssertRCStmt(rc, uc = 0x 7f);82 AssertRCStmt(rc, uc = 0xfffd /* REPLACEMENT */); 83 83 84 84 /* Simple: */ … … 115 115 cwcRet += 1; 116 116 if (RT_LIKELY(cwcLeft > 1)) 117 *pwszCur++ = 0x 7f;117 *pwszCur++ = 0xfffd; /* REPLACEMENT */ 118 118 else 119 119 break; … … 159 159 RTUNICP uc; 160 160 int rc = RTStrGetCpNEx(&pachChars, &cbChars, &uc); 161 AssertRCStmt(rc, uc = 0x 7f);161 AssertRCStmt(rc, uc = 0xfffd /* REPLACEMENT */); 162 162 163 163 if (RTUniCpIsBMP(uc))
Note:
See TracChangeset
for help on using the changeset viewer.