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

  • Home
  • SEARCH
  • 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 9046711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:42:58+00:00 2026-06-16T11:42:58+00:00

Theoretical question : Let’s say there is one source which knows only how to

  • 0

Theoretical question :

Let’s say there is one source which knows only how to transmit ASCII chars. (0..127)

And let’s say there is an endpoint which receives these chars .

Can the endpoint decode those chars as utf8 ?

    ascii chars
        ...
        ...
         |
         |
         V

    read as utf ?

Something like this pseudo code :

    var txt="אבג";
    var _bytes=Encoding.ASCII.GetBytes(txt);   <= it wont recognize [א] here
    ...transmit...
    var myUtfString=Encoding.UTF8.GetString(getBytesFromWire();  <= some magic has to be done here
  • 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-16T11:42:59+00:00Added an answer on June 16, 2026 at 11:42 am

    That is possible, but not using UTF8.
    UTF8 works by encoding multibyte characters into sequences of bytes that are between 128 and 255.
    Your ASCII protocol will not be able to transmit those bytes.

    Instead, you need some mechanism to store arbitrary Unicode codepoints or bytes in pure ASCII text:

    • You can encode the Unicode text using any encoding to get a stream of (non-ASCII) bytes, then transmit those bytes using Base64 encoding
    • You can use the UTF7 encoding to encode Unicode codepoints using pure ASCII characters.
      This will be substantially more space-efficient than Base64 if your text is mostly ASCII.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have theoretical question about OSGi memory management. Let’s say we have some OSGi
The question is quite theoretical. Let's say you're implementing a normal (or small or
This is mostly a theoretical question. Let's say I want to draw a triangle
I have a very theoretical question: Is there a way to ban the use
after reading the responses I have rewritten my question. Let's say I have a
Let's say I play a stereo WAV file with 317,520,000 samples, which is theoretically
This is more a theoretical question than a practical one, but given I undestand
This is a more theoretical question, not a specific scenario: Let's assume, we have
while programing bellman-ford algorithm I encountered one problem, it's question more theoretical than technical
Let's say I have 300 functions in one script. Is it bad to access

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.