上一话题

双向按钮范例

下一话题

补全器范例

文本编解码器范例

如何使用文本编解码器导入/导出文本。

The Text Codecs example demonstrates the principles behind importing and exporting text using codecs to ensure that characters are encoded properly, avoiding loss of data and retaining the correct symbols used in various scripts.

../_images/codecs-example.png

范例工程 @ code.qt.io