Go Back   Computer Forums > General Computing > Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 02-01-2012, 07:50 PM   #1
Beta Member
Join Date: Feb 2012
Location: UK
Posts: 1
Default How is binary delimited?

Hi guys,

My first post here, sorry if this is a completely stupid question.

I've just been reading some stuff about multi-byte characters and how say the UTF-8 character set can require as much as 6 bytes to store a single character. If that's the case though, how does the machine know where one character ends and the next starts? How are they delimited from one another?



Adam is offline   Reply With Quote
Old 02-01-2012, 08:55 PM   #2
Site Team
celegorm's Avatar
Join Date: Sep 2006
Posts: 10,674
Send a message via AIM to celegorm
Default Re: How is binary delimited?

Typically speaking, they still have all 8 bits. The difference is that the first 2 bits are left as zeros.

If you feel creative, you can write a program to take in any character formatted in UTF8 and have it print out the binary but that might be over kill.
"as a fanboy i refuse to admit it and will pull countless things out of my butt to disprove it"

Team Thelegorm! Total Kills: 21 (i iz in uor profile, editsing your sigz)
celegorm is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 05:03 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0