如何在 FitNesse 装置中使用 unicode 字符?

发布于 2024-09-28 23:05:32 字数 459 浏览 0 评论 0原文

我正在使用 FitNesse 测试 unicode 清理例程的工作原理,但我在决策表中输入的 unicode 字符无法进入我的装置。

决策表看起来有点像这样,

|first name before|last name before |first name after|last name after  |
|Władysław        |Belina-Prażmowski|Wladyslaw       |Belina-Prazmowski|

但是我的装置中的设置器被调用

W?adys?aw

,并且

Belina-Pra?mowski

我期望多字节字符(是的,这实际上是一个“?”字符)。

我如何指示 FitNesse 将这些字符作为 unicode 传递?

I'm testing the workings of a unicode-scrubbing routine using FitNesse, but the unicode characters I enter in the decision table don't make it through to my fixture.

The decision table looks a little like this,

|first name before|last name before |first name after|last name after  |
|Władysław        |Belina-Prażmowski|Wladyslaw       |Belina-Prazmowski|

but setters in my fixture get called with

W?adys?aw

and

Belina-Pra?mowski

where I would have expected multibyte characters (yes, that actually is a '?' character).

How can I instruct FitNesse to pass these characters on as unicode?

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

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

发布评论

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

评论(1

无言温柔 2024-10-05 23:05:32

在这里它可以正常工作,没有任何特殊问题。检查是否有 unicode 作为系统字符集和 java 环境。

Here it works without any particular problem. Check to have unicode as system charset and in java enviroment.

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