Bidirectional browser name (Hebrew and English characters in the header)

I have an aspx page whose name contains Hebrew and English characters, and the word order is messed up.
Is there a way to create a headline so that the words don't get mixed up or is this an OS problem?

This is what the name should say:

good

Here is the name:

not good

+3
source share
3 answers

Try using embed codes in Unicode format :

The result looks like הוספת קובץ JS עורך ישן - Mozilla Firefox , and it marked up as follows:

‫ (right-to-left embedding)
הוספת קובץ
JS
עורך ישן
‬ (pop directional formatting)
- Mozilla Firefox

( <title dir="rtl">, .)

+3

@jleedev , . :

HTML- ,

, , . HTML .

, .

, , , , . - U + 202B - (RLE) U + 202A (LRE). <span dir="rtl"> <span dir="ltr">, . - U + 202C POP DIRECTIONAL FORMATTING (PDF). . , .

<p>The title says "&#x202B;...&#x202C;" in Hebrew<p>
+4

if you use utf-8 you should have no problem.

add the following to <head> and make sure you save it as utf-8

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
0
source

Source: https://habr.com/ru/post/1730354/


All Articles