UTF-8和ISO-8859-1的区别

时间:2022-11-13 14:29:00

I have this &#2361 &#2379 and also this \u0936\u093e\u0902\u0924\u093f But I dont know to what encoding they belong to.

我有这个हो以及这个\ u0936 \ u093e \ u0902 \ u0924 \ u093f但我不知道他们属于哪种编码。

The hindi font gets stored as the 1st encoding in the database.

hindi字体作为第一个编码存储在数据库中。

So please tell me what type encoding it is? And also how to get my hindi font characters in the 2nd encoding type(\u0924\u093f).

那么请告诉我它是什么类型的编码?以及如何在第二种编码类型(\ u0924 \ u093f)中获取我的印地文字体字符。

1 个解决方案

#1


0  

Both ह and \u0939 encode the Unicode Character Devanagari letter HA :

ह和\ u0939编码Unicode字符梵文字母HA:ह

ह is the HTML entity that represents the unicode character 2361 in decimal, which is equivalent to hexadecimal 0939

ह是HTML实体,表示十进制的unicode字符2361,相当于十六进制0939

\u0939 is javascript escape sequence that represents the unicode character 0939 in hexadecimal, which is the equivalent to decimal 2361.

\ u0939是javascript转义序列,表示十六进制的unicode字符0939,相当于十进制2361。

ISO 8859 do not include those characters.

ISO 8859不包括这些字符。

#1


0  

Both ह and \u0939 encode the Unicode Character Devanagari letter HA :

ह和\ u0939编码Unicode字符梵文字母HA:ह

ह is the HTML entity that represents the unicode character 2361 in decimal, which is equivalent to hexadecimal 0939

ह是HTML实体,表示十进制的unicode字符2361,相当于十六进制0939

\u0939 is javascript escape sequence that represents the unicode character 0939 in hexadecimal, which is the equivalent to decimal 2361.

\ u0939是javascript转义序列,表示十六进制的unicode字符0939,相当于十进制2361。

ISO 8859 do not include those characters.

ISO 8859不包括这些字符。