diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-03-06 15:29:08 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-19 08:39:24 +0100 |
commit | 6597b915b8df43b905f937d0ad87ae9e560ab3b5 (patch) | |
tree | 9de34488f0cd26c42cf33eac9d04ddd3c68eca6e /src/linguist/lupdate/lupdate.h | |
parent | ea98b4694c7a0674293e71cb20c15c3607cfb258 (diff) | |
download | qttools-6597b915b8df43b905f937d0ad87ae9e560ab3b5.tar.gz |
support only utf-8 and utf-16 for source code
utf-16 is optionally used by java and msvc. it doesn't hurt to support
it. all other encodings are not used anyway (other than 8-bit
pass-through, but this is a matter for (the also removed) CodecForTr).
Change-Id: Ie6482e187a9a8276918b53e97faeac88a40eb52c
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/linguist/lupdate/lupdate.h')
-rw-r--r-- | src/linguist/lupdate/lupdate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linguist/lupdate/lupdate.h b/src/linguist/lupdate/lupdate.h index 3f3095a89..05a3ce583 100644 --- a/src/linguist/lupdate/lupdate.h +++ b/src/linguist/lupdate/lupdate.h @@ -65,7 +65,8 @@ enum UpdateOption { AbsoluteLocations = 256, RelativeLocations = 512, NoLocations = 1024, - NoUiLines = 2048 + NoUiLines = 2048, + SourceIsUtf16 = 4096 }; Q_DECLARE_FLAGS(UpdateOptions, UpdateOption) |