Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6762291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:18:10+00:00 2026-05-26T14:18:10+00:00

character set has 1 and 2 byte characters. One byte characters have 0 as

  • 0

character set has 1 and 2 byte characters. One byte characters have 0 as the first bit. You just
keep accumulating the characters in a buffer. Suppose at some point the user types a backspace, how
can you remove the character efficiently.

one solution that came in my mind is that there is no need to think about one byte characters (it has 0 as most significant bit) and only we need to think about 2 byte characters and how it could be differentiated from 1 byte character.I thought to include and extra bit (say 0) to 2 byte char to distinguish it but that would eat up many character representations.

suggest an idea!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:18:10+00:00Added an answer on May 26, 2026 at 2:18 pm

    What do you mean first bit?
    In the 2-octet value 0xfade (0b1111101011011110) is the first bit a 0 or a 1?

    Anyway, you can arrange to write the values in little-endian or big-endian format to have the “first bit” always written last. By examining only the last octet written you know whether to delete 1 or 2 octet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my c++ struct (Use Multi-Byte Character Set) typedef struct hookCONFIG { int
Is there a python library for encoding ascii data to 7-bit GSM character set
I have a set of 6 bits that represent a 7bit ASCII character. How
I have to change the character set from AL32UTF8 to WE8MSWIN1252 in a Oracle
I have a MySQL table properly set to the UTF-8 character set. I suspect
I have a client who has messed up characters in his database (I inherited
I have a MySQL table using the UTF-8 character set with a single column
I have done fastload for table which has more than one column (I did
I have an MFC application where the Character Set is Not Set. What are
You often see database fields set to have a magnitude of 255 characters, what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.