字映射的 ContentControl 返回混乱的数据

发布于 2024-10-06 15:24:37 字数 264 浏览 0 评论 0原文

我正在编写 ac# 插件,该插件创建 ContentControl 并将其映射到 XML 文件。
当 XML 具有类似于“7, SOMESTREET”的节点时,我会在 ContentControl 中获取文本“,7SOMESTREET”...
我住在以色列,所以我的猜测是它一定与语言环境有关。
我已经尝试了我能想到的一切(更改 XML 编码、更改 ContentControl 的默认格式等),但仍然没有成功。

有谁能想到可能导致这种情况的原因吗?

谢谢。

I'm writing a c# plugin that creates a ContentControl and maps it to an XML file.
When the XML have a node with something like "7, SOMESTREET" i get inside the ContentControl the text ",7SOMESTREET" ...
I live in Israel so my guess is that it must has something to do with locale.
I've tried everything i could think of (changing the XML encoding, changing the default formatting of the ContentControl, etc') - but still no luck.

Does anyone can think of something that may cause this?

Thanks.

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

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

发布评论

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

评论(2

一抹微笑 2024-10-13 15:24:37

将段落更改为从左到右的文本顺序。

Change the paragraph to Left-to-Right text order.

天冷不及心凉 2024-10-13 15:24:37

发现这个:

如果您有多个键盘
(输入区域设置)安装在您的
系统,当你开始一个空白
文档——无论模板如何
使用中--Word会自动应用
直接格式化文本匹配
当前活动的输入区域设置,
从而覆盖默认设置
在“语言”对话框中。

这里: http://word.tips.net/Pages/T001678_Changing_to_UK_English.html

这可能是那个..

谢谢。

Found this:

If you have more than one keyboard
(input locale) installed on your
system, when you start a blank
document--regardless of the template
in use--Word will automatically apply
direct formatting on the text matching
the currently active input locale,
thereby overriding the default setting
in the Language dialog box.

Here: http://word.tips.net/Pages/T001678_Changing_to_UK_English.html

Thats probably that..

Thanks.

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