Hi guys, Does telegram send "Message Text" in normal format

or it will send it with its font?

For example this text: "𝐈 𝐚𝐦 𝐯𝐞𝐫𝐲 𝐡𝐚𝐩𝐩𝐲"
Does telegram give bot api normal text?

6 ответов

22 просмотра
Taha- Автор вопроса

If not, how can I convert it to plain text in C#? Does anyone have any idea?

That is not a font. those are unicode characters. those unicode character might or might not show depending on the fonts installed on the clients device. For example i can't see those characters in android because Android doesn't allow to install fonts. If you want to convert latin characters into another character set you'll have to map every latin character with the corresponding character.

Taha- Автор вопроса
Fabian Pastor
That is not a font. those are unicode characters. ...

I want to convert other character set to latin normal characters. Isn't there any easier way than mapping characters 1by1?

Taha
I want to convert other character set to latin nor...

There are very likely libraries that can do that easily.

Yes, they are unicode utf-8 You can create your app / WebApp or codes, provided they use utf BOM or header, something. However, for your app or code to convert from normal to these.... ℜ𝔢𝔤𝔞𝔩 𝔚𝔬𝔯𝔡𝔰 𝔞𝔫𝔡 𝔏𝔢𝔱𝔱𝔢𝔯𝔰 You do have to map and compare each, in your coding.

Похожие вопросы

Карта сайта