qt5base-lts/examples/widgets
Giuseppe D'Angelo c29fac453f Markdown importer: use Unicode decoding
Given we feed UTF-8 data into the importer, it must be able to cope
with Unicode. Build md4c with UTF-8 support, advertise it at
usage site, and change a couple of broken decodings.

Driveby: the textedit example used the wrong codec to decode
a Markdown file. While the Markdown spec doesn't deal with encodings,
using the default one for HTML is certainly wrong. Port the loading
of both markdown and plaintext to UTF-8, as that what _saving_
via QTextDocumentWriter would use by default.

Change-Id: I51c6214cfe45ebfc5a67a7366f7866a5328366ec
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2020-02-03 14:58:00 +01:00
..
animation Sub-Attaq: Fix compilation with -no-opengl 2019-11-18 15:45:41 +01:00
desktop Doc: Correct qdoc compilation errors qtbase 2020-01-09 02:33:08 +01:00
dialogs Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
doc Pad Navigator example: Remove duplicated property animations 2020-01-16 10:24:06 +01:00
draganddrop DropSite example: fix documentation 2018-12-10 18:38:56 +00:00
effects Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
gestures Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
graphicsview Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
itemviews Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
layouts QtBase: compile examples with QT_DISABLE_DEPRECATED_BEFORE=0x050d00 2019-02-13 05:55:46 +00:00
mac macOS: Make QMacNativeWidget example more usable 2017-02-12 12:29:55 +00:00
mainwindows Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
painting Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
qnx/foreignwindows Basic foreign window support for QNX 2019-05-01 13:49:18 +00:00
richtext Markdown importer: use Unicode decoding 2020-02-03 14:58:00 +01:00
scroller Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
statemachine Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
tools Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
touch Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
tutorials Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
widgets Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
windowcontainer Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
widgets.pro Merge remote-tracking branch 'origin/5.11' into 5.12 2018-10-17 10:35:28 +02:00