Visual Studio Text Editor doesn't render UTF characters

Emon Haque 3,176 Reputation points
2021-09-03T22:08:51.973+00:00

Here in the table I add/remove characters at the beginning/ending of words with some CheckBox:

129253-x1.gif

In the WPF window it renders correctly and for that I've a method where I typed one or more characters like these:

129304-capture1.png

Characters rendered as a question mark in a rectangle are the Arabic short vowels (َ، ِ، and ُ). Here're these in MS Word:

129207-capture2.png

I use this Arabic Phonetic keyboard for typing and you can get those characters by pressing u, i and o. here is the version of Visual Studio I'm using:

129208-capture3.png

How to get the correct characters in the Text Editor?

Correct the tag if relevant. Nothing pops up when I type v / vi in Tags field.

Developer technologies Windows Presentation Foundation
Developer technologies Visual Studio Other
0 comments No comments
{count} votes

Accepted answer
  1. PengGe-MSFT 3,381 Reputation points
    2021-09-06T09:11:35.527+00:00

    Hi @Emon Haque

    After reading this document, I tried to install the input method you provided and did some research.

    When I enter one or more Arabic letters first, and then enter uio, Visual Studio can render it correctly, but if I enter uio directly, I will get a question mark surrounded by a rectangle. The character set of the file is utf- 8.

    You can give feedback to this software.

    Sincerely,
    Peng
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.