Home xml Difference between UTF-8 and UTF-16

Difference between UTF-8 and UTF-16

Author

Date

Category

What is the principal difference between UTF-8 and UTF-16?

just have two XML schemes in which
& lt; xml version = "1.0" encoding = "UTF-8"? & gt; and & lt;? xml version = "1.0" encoding = "UTF-16"? & gt; .

The problem is that in MS SQL operator does not work with UTF-8.


Answer 1

UTF-8 is an encoding with a variable number byte on the character, while in UTF-16 all characters occupy 2 bytes.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions