在消息框中显示非英语文本
我在 MS Access 中的应用程序中编写了以下代码,以波斯语(非英语)显示消息框,但是当我输入波斯语(Persion)时,它会键入一些特殊/未知/不同的字符,而且当我运行应用程序时,消息框显示特殊/不同的字符,而不是我想要显示的“??”。
msgbox("?????")
任何帮助都是我的荣幸,我真的需要任何类型的回复和帮助,请eeeeeeee。
i wrote the following code in my application which is in MS Access, to display a message box in Farsi language(non-English language), but while i am typing in Farsi(Persion) it types in some special/unknown/different characters, and also while i run the application the message box displays that special/different characters instead of "احمد" which i want to be display.
msgbox("احمد")
any help well be my pleasure, and i really need for any kind of reply and help pleaseeeee.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能会检查您正在使用的控件的 unicode 选项。
编辑:根据我所做的一些谷歌搜索,msgbox 中似乎没有内置任何 unicode 支持(令我惊讶),但其他控件显然默认支持它,从而导致自定义解决方案。请参阅下面的链接。
我发现的一篇论坛帖子提到了自定义 msgbox 创建器:
http://www.pcreview.co.uk /forums/msgbox-wont-display-unicode-characters-t2766299.html
另一篇讨论如何制作将显示 unicode 消息的表单:
http://groups.google.com/group/microsoft.public.access/browse_frm/thread/4f2cd646023e0054/892dfd73309ad76b
Might check into unicode options for the controls you're using.
Edit: Based on a bit of googling I did, there doesn't seem to be any unicode support built in to msgbox (surprise to me), but other controls do support it by default apparently, leading to custom solutions. See below for links.
A forum post I found mentions a custom msgbox creator:
http://www.pcreview.co.uk/forums/msgbox-wont-display-unicode-characters-t2766299.html
Another post discussing how to make forms that will display a unicode message:
http://groups.google.com/group/microsoft.public.access/browse_frm/thread/4f2cd646023e0054/892dfd73309ad76b