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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:12:26+00:00 2026-05-24T10:12:26+00:00

I am reading unicode character from XML like \u09A8\u09AC\u09AE . I have used <?xml

  • 0

I am reading unicode character from XML like \u09A8\u09AC\u09AE. I have used <?xml version="1.0" encoding="utf-8"?> in the heading of XML. When I parsing xml from server using KXML2 parser it makes every unicode character a string. If I convert it to character array it gives like :

Char 0: \

Char 1: u

Char 2: 0

Char 3: 9

Char 4: B

Char 5: E

How can I get my unicode character back?

  • 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-24T10:12:27+00:00Added an answer on May 24, 2026 at 10:12 am

    In XML \u09A8 is not a Unicode character reference in XML!

    There are only a few places that treat \u as the beginning of a Unicode escape, and they are mostly in the Java area.

    In XML a hexidecimal Unicode escape would be &#x09A8; and a decimal one would be &#2472;.

    In other words: You get the characters \, u, 0, 9, B, E back, because that’s what the XML contains.

    The best solution is to fix whatever produces this XML to use actual numeric entity references. Alternatively, you can manually replace the \u escapes with their corresponding characters, but then only your code will correctly interpret this non-standard XML.

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

Sidebar

Related Questions

I have a problem reading and using the content from unicode files. I am
I have to read a text file which is Unicode with UTF-8 encoding and
reading excel files from C# working well in 32 bit version server. It is
How can I convert decomposed unicode character sequences like LATIN SMALL LETTER E +
Hi there I have been trying to read an xml file with UTF strings,
I've been reading all questions regarding conversion from Unicode to CSV in Python here
I have the following attribute in an xml node I'm reading with libxml. It
I'm having trouble reading in supplementary unicode characters using Java. I have a file
When reading two dates from a binary file I'm seeing the error below: The
I have a logfile that contains the half character ½, I need to process

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.