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

The Archive Base Latest Questions

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

How can I insert ASCII special characters (e.g. with the ASCII value 0x01) into

  • 0

How can I insert ASCII special characters (e.g. with the ASCII value 0x01) into a string?

I ask because I am using the following:

str.Replace( '<TAG1>', Convert.ToChar(0x01).ToString() ); 

and I feel that there must be a better way than this. Any Ideas?

Update:

Also If I use this methodology, do I need to worry about unicode & ASCII clashing?

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-10T14:57:19+00:00Added an answer on May 10, 2026 at 2:57 pm

    I believe you can use \uXXXX to insert specified codes into your string.

    ETA: I just tested it and it works. 🙂

    using System; class Uxxxx {     public static void Main() {         Console.WriteLine('\u20AC');     } } 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can insert a row by using code below. USE pmdb; INSERT INTO md5_tbl
I am trying to work out how I can insert the string End into
I am getting ASCII encoding errors when I insert into my database because I
I know by using N'...' we can insert multi language data into SQL Server.
How can I insert to my TextView the value of ascii arrow down? for
I'm wondering how I can insert text into a text area using jquery, upon
how can insert a record if only a specific value doesn't exist in a
Using the code below I can insert a new row to my table (
Is there a way that I can insert values into a VB.NET Dictionary when
I want something where I can insert key/value pairs, and the order is the

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.