Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF TextBox doesn't allow unicode character \u200c

$
0
0

In Persian language beside the space (\u0020), it's common that using semi-space or half-space character (\u200c) too. For example: "توسعه" plus \u200c plus "یافته" will be "توسعه‌یافته" and with space will be "توسعه یافته".

This is a simple Textbox in an empty wpf app without any behind code:

<TextBoxFlowDirection="RightToLeft"Width="200"Height="30"/>

It works well in my pc and also laptop (Both Windows 10). I can type half-space (\u200c) by pressing Ctrl+Shift+2 easily. But my friend reports that he can't type half-space in Textbox. He's system specification and keyboard layout standard is the same as mine. He can use half-space in any other application except mine and doesn't have any problem with Winform TextBox; just WPF Textbox!

Why this problem doesn't occur for me?

Most likely similar question (but without answer):

https://stackoverflow.com/q/47635166/579381

I don't know what is going on and I haven't any solution except hosting Winform TextBox in my app, But this is my last solution because I've come to wpf to reduce limitation, not facing with new restrictions. Please get me out of this stupid strange problem.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>