如何将备忘录另存为unicode [英] How to save a memo as unicode

查看:73
本文介绍了如何将备忘录另存为unicode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Delphi 7,如何将备忘录另存为Unicode文本文件,找到了一些将其另存为UTF-8文本文件的示例,但是我需要一个将文件另存为Unicode的示例.谢谢您的帮助

I am using Delphi 7, How can I save a Memo as a Unicode text file, I find some example for save it as UTF-8 text file, but I need an example for saving file as unicode. Thanks for any help

推荐答案

您需要使用支持Unicode的控件.Delphi 7 TMemo 不会.这意味着您真正的问题不是保存内容,而是首先接受内容.

You need to use a control that supports Unicode. Delphi 7 TMemo does not. Which means that your real problem is not so much saving the content, but admitting the content in the first place.

您应该通过切换到TNT Unicode组件来解决此问题.一旦开始使用 TNT Unicode组件,TNT Unicode便笺便支持将内容另存为Unicode.

You should deal with this by switching to the TNT Unicode components. Once you start using the TNT Unicode components, the TNT Unicode memo supports saving the contents as Unicode.

这篇关于如何将备忘录另存为unicode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆