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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:48:34+00:00 2026-05-15T16:48:34+00:00

I have the following string \u3048\u3075\u3057\u3093 . I got the string from a web

  • 0

I have the following string "\u3048\u3075\u3057\u3093". I got the string
from a web page as part of returned data in JSONP.

What is that? It looks like UTF8, but then should it look like "U+3048U+3075U+3057U+3093"?

What’s the meaning of the backslashes (\)?

How can I convert it to a human-readable form?

I’m looking to a solution with Ruby, but any explanation of what’s going on here is appreciated.

  • 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-15T16:48:35+00:00Added an answer on May 15, 2026 at 4:48 pm

    It is Unicode, but not in UTF-8, it is in UTF-16. You might ignore surrogate pairs and deem it as 4-digit hexadecimal code points of a Unicode code character.

    Using Ruby 1.9:

    require 'json'
    
    puts JSON.parse("[\"\\u4e00\",\"\\u4e8c\"]")
    

    Prints:

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

Sidebar

Related Questions

I have following JSON string returned to a page. {firstName:Bob,lastName:Gates,department:Tech} I would like to
I have following situation: String a = A Web crawler is a computer program
I have the following string expression in a PowerShell script: select count(*) cnt from
I have following data (String): Course1: A1 Course1: A2 Course2: B1 Course2: B2 Course2:
I have following string task BLABLA@{taskId} @{BLABLA.title} and want to extract all placeholders from
I have the following string: FirstName=John&LastName=Doe&City=London&ConfirmationId=WXASL320330 I want to extract the confirmationId from it.
Have following String built SQL query: StringBuilder querySelect = new StringBuilder(select * from messages
I have following connection string: metadata=res:// /Database.csdl|res:// /Database.ssdl|res://*/Database.msl;provider=System.Data.SqlClient;provider connection string=Data Source=.\SQLEXPRESS;AttachDbFilename='Database.mdf';Integrated Security=True;User Instance=True;Connection Timeout=300;
I want to read Object from string expression. eg: I have following string: (3:2,1)
I have following string String str = replace :) :) with some other string;

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.