M
M
Mark Berdnikov2012-06-04 18:51:01
Programming
Mark Berdnikov, 2012-06-04 18:51:01

How to distinguish between UTF-16BE and UTF-16LE without BOM?

Actually the algorithm is interesting.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
barker, 2012-06-04
@mark_berdnikov

At least zero analysis. In BE there will be something like 00 XX 00 XX 00 XX, in LE, respectively, on the contrary: XX 00 XX 00 XX 00. More, probably, there is no reliable way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question