怎样显示unicode字符

lvhy 2003-11-01 12:26:07
要显示英文音标,已知unicode的编码,如0x91,怎样显示出来?
多谢
...全文
74 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
lvhy 2003-11-01
  • 打赏
  • 举报
回复
这个思路好像不太对,我又发了一个帖子。
谢谢关注。
juwuyi 2003-11-01
  • 打赏
  • 举报
回复
ToUnicode ( string )
这个只是把字符串转化为Unicode 。至于你要的通过字符映射表查到的我就不太清楚了。
那你应该是 根据 ir 然后 搜索 你那unicode数据库,来得到的。
lvhy 2003-11-01
  • 打赏
  • 举报
回复
举个例子,要显示bird的音标,ir 的音标的unicode是0x91(通过字符映射表查到的),怎样显示出来?
juwuyi 2003-11-01
  • 打赏
  • 举报
回复
//ToUnicode ( string )
//Return value :
//Blob. Returns a Unicode blob if it succeeds and an empty blob if it fails.


blob lblb_text

string ls_native

ls_native = mle_entry.Text

lblb_text = ToUnicode(ls_native)
lvhy 2003-11-01
  • 打赏
  • 举报
回复
Description : Converts a character string to an ANSI blob.
Syntax : ToAnsi ( string )
Argument Description : string, A character string you want to convert to an ANSI blob
Return value : Blob. Returns an ANSI blob if it succeeds and an empty blob if it fails.

不懂,能否举个例子?
dingzhaofeng 2003-11-01
  • 打赏
  • 举报
回复
使用ToAnsi(),understand?

1,075

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧