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 7879563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:55:26+00:00 2026-06-03T03:55:26+00:00

If I write the character é to a file and I open it with

  • 0

If I write the character é to a file and I open it with an hexadecimal editor I can see the bytes 0xC3, 0xA9.

From Wikipedia, the first byte it’s called the leading byte and the second, the trailing byte. 0xC3 it’s a metadata byte that means that the character it’s encoded with 1 byte, 0xA9, but the unicode value for é is 0xE9.

I basically want to know why é it’s encoded with a 0xA9 instead of 0xE9. How the text editors convert from 0xC3A9 to 0xE9? Any shift operation?

  • 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-06-03T03:55:28+00:00Added an answer on June 3, 2026 at 3:55 am

    What makes you think that 0xC3 is “a metadata byte”?

    Every byte in UTF-8 contains relevant information about the codepoint that is encoded.

    The first byte of a UTF-8 encoded codepoint contains a marker (number of leading 1s) that indicates the total number of bytes used to encode the codepoint(*) and the first few bits of the actual codepoint. All trailing bytes then contain a “continuation marker” (the bits 10) and 6 more bits of the encoded codepoint.

    The Wikipedia article on UTF-8 has a pretty good description of the process.

    There is an encoding that uses the codepoint value directly: UTF-32 (a.k.a UCS-4) which is basically “use the codepoint value as a 32bit value”

    (*) The marker is actually remarkably easy: if the byte starts with (i.e. it’s most significant bits are) 0, then it’s a single-byte encoding (i.e. a codepoint between 0 and 127). If it starts with 10, then it’s a continuation byte. If it’s 110, 1110 or 11110 then it’s the start of a 2-, 3- or 4-byte sequence, respectively. 111110 and 1111110 used to be defined as well, but are no longer valid in modern UTF-8 (since those are only needed to encode values that are guaranteed to never be used in the Unicode standard).

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

Sidebar

Related Questions

How can I remove the ^M character from a text file (at the end
i have locked my file from 0 to 5 bytes, and i write some
When I open a PDF file and write the content to a text file
I'm using a technique from another Stack Overflow question to write a CSV file
I understand that byte streams deal with bytes and character streams deal with characters...
I would like to open 10,000 files with file names starting from abc25000 until
i'm using vbscript to extract data from db2 and write to file. Writing to
When I use open() to open a file, I am not able to write
I have to write a series of characters in the disk file and I
Let the user write/draw a character on the canvas,and recognize it. Seems not so

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.