如何解决 Sybase PowerBuilder 6 和 7 中的阿拉伯语言问题?

发布于 2024-11-30 01:25:11 字数 120 浏览 1 评论 0原文

当我在表和数据库的属性中使用 Arial(阿拉伯语) 或任何阿拉伯语言时,如何在 Sybase PowerBuilder 6 或 7 中正确查看阿拉伯字符,但它将字符显示为没有任何含义的奇怪符号,如 ÓíÇÑÉ ÕÛíÑÉ ?

How to view arabic characters correctly in Sybase PowerBuilder 6 or 7 as I use Arial(Arabic) or any arabic language in the properties of the table and the database but it shows the characters as strange symbols that has no meaning like ÓíÇÑÉ ÕÛíÑÉ ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

回梦 2024-12-07 01:25:11

我不是处理阿拉伯语言字符的专家,因此可能可以使用 ANSI 代码页来解决,但我希望您最好的解决方案是 Unicode。 PB6 有一个支持 Unicode 的不同版本(即一个单独的产品),但它在 PB6 中已停产,并且直到它被集成到 PB10 中的主要产品中才支持 Unicode。但是,除非您手头有 PB6/Unicode 产品,或者您需要 Win9x 支持或其他一些旧平台支持,否则我建议您转向更新的产品,例如刚刚发布的 PB12.5。您不仅会获得 Unicode,还会获得许多功能,这些功能将帮助您的应用程序看起来更加最新并与现代服务更好地集成。 (请参阅http://www.techno-kitten.com/Changes_to_PowerBuilder/changes_to_powerbuilder.html 的列表目前有点过时,但会得到你想要的大部分内容。)

祝你好运,

特里。

I'm no expert in dealing with Arabic language characters, so there may be a work around with ANSI code pages, but I'd expect your best solution is Unicode. There was a distinct version of PB6 supporting Unicode (i.e. a separate product), but it was discontinued in PB6 and there was no Unicode support until it was integrated into the primary product in PB10. However, unless you have the PB6/Unicode product on hand, or you need Win9x support or some other old platform support, I'd recommend moving to something more current, like PB12.5 just out. Not only will you get Unicode, but a lot of features that will help your application look more up to date and integrate better with modern services. (See http://www.techno-kitten.com/Changes_to_PowerBuilder/changes_to_powerbuilder.html for a list that at the moment is a little out of date, but will get the majority of what you're after.)

Good luck,

Terry.

栩栩如生 2024-12-07 01:25:11

这个问题被称为Mojibake,这是由于PowerBuilder客户端和数据库使用不同的字符编码造成的。此问题在网络和电子邮件中经常遇到。正如 Terry 建议的那样,在数据库和 PowerBuilder 中使用 Unicode 可以获得最佳结果。如果不可能,您必须在 PowerBuilder 客户端上使用与数据库中相同的代码页。一个复杂的问题是,听起来您已经拥有现有数据。如果您想切换编码,则必须将现有数据转换为新编码。

This problem is called Mojibake and it's due to the PowerBuilder client and the database using different character encodings. This problem is frequently encountered on the web, and also in email. As Terry suggested, you would get the best results using Unicode in the database and PowerBuilder. If that's not possible, you have to use the same code page on the PowerBuilder client as in the database. A complicating issue is that it sounds like you have existing data. If you want to switch encoding you would have to convert the existing data to the new encoding.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文