diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-13 08:28:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-13 08:28:32 +0200 |
commit | 08e78607ec6bc820c52ab3df1a5d3738e049b90d (patch) | |
tree | 64a43efbf2e834663a4a29919f8724da67a1bb34 /desktop/WinResTarget_sofficebin.mk | |
parent | caf9e56a81d28bdb8d447bc9d3538bbd9969ff73 (diff) |
Make reading UTF-8 strict
Consider non-shortest forms, surrogates, and representations of values larger
than 0x10FFFF (which can even cover five or six bytes, for historical reasons)
as "invalid" (they used to be considered as "undefined" instead).
This is in response to fc670f637d4271246691904fd649358ce2e7be59 "svtools: HTML
import: don't put lone surrogates in OUString" (which can now be reverted again
in a follow-up commit). My fear would have been that some places in the code
rely on the original, relaxed handling, but at least 'make check' still
succeeded for me.
Change-Id: I017e6c04ed3c577c3694b417167f853987a1d1ce
Diffstat (limited to 'desktop/WinResTarget_sofficebin.mk')
0 files changed, 0 insertions, 0 deletions