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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:00:46+00:00 2026-05-19T02:00:46+00:00

In C# is there a way to encode the extended ascii values (128-255) into

  • 0

In C# is there a way to encode the extended ascii values (128-255) into their single byte values as shown here: http://asciitable.com/

I’ve tried using Encoding.UTF8.GetBytes() but that returns multi byte values for the extended codes. I don’t need anything beyond 255, but it would be nice to at least support those. I’m trying to send the text data to an Arduino running and LED matrix and want to handle accented letters, without having to deal with multibyte characters.

EDIT: To clarify, the LED matrix has no specific codepage. It’s basically whatever I say it is. There’s no built in text support in it or the arduino. It’s just a dumb 128×8 pixel display and the controller is manually drawing the text pixel by pixel. Therefore, I’m actually providing a font (as a byte array in a header file) to it and can make any character code correspond to any output that I want… so, which codepage to use is not really an issue other than which one will give me full 8-bit characters.

  • 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-19T02:00:47+00:00Added an answer on May 19, 2026 at 2:00 am

    Just pass the code page number to the Encoding constructor. If what you linked is the correct “extended ASCII” table, that would be 437.

    But IBM437 encoding is uncommon outside of DOS programs and Windows console apps. Otherwise, the standard encoding for Western European languages is ISO-8859-1 (Windows code page 28591) or windows-1252.

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

Sidebar

Related Questions

I'm currently doing this to replace extended-ascii characters with their HTML-entity-number equivalents: s.encode('ascii', 'xmlcharrefreplace')
Is there a way to encode any string with any encoding into UTF-8? Is
Is there a built-in way to URL encode a string in Excel VBA or
Is there a way to encode a String with UTF-8 in GWT? In other
Is there any way to encode ALL urls in Drupal? I.e. Instead of something
Is there a way to encode a string as a bitmap? Or a drawable?
Is there way in next piece of code to only get the first record?
is there way thats i can preselect an item when the page loads or
Is there a way to enforce constraint checking in MSSQL only when inserting new
Is there any way to check whether a file is locked without using a

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.