Single Unicode Character - How many Bytes?

A

Arnold Shore

I've got a single Cyrillic character delivered from a db field to my script,
which displays correctly in my UTF-8 web page. This is the "backwards P"
which has the Unicode value of &H042F

But when I read it for writing to a file, what I see is a 4-byte value of
&HD0 00 AF 00 .

Can someone explain what's going on here? Thanks, all.

AS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top