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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:27:33+00:00 2026-05-29T05:27:33+00:00

0186 is the unicode code. Where do 198 and 134 come from? How can

  • 0

0186 is the unicode “code”. Where do 198 and 134 come from? How can go the other way around, from these byte codes to unicode strings?

>> c = JSON '["\\u0186"]'
[
    [0] "Ɔ"
]
>> c[0][0]
198
>> c[0][1]
134
>> c[0][2]
nil

Another confusing thing is unpack. Another seemingly arbitrary number. Where does that come from? Is it even correct? From the 1.8.7 String#unpack documentation:

U | Integer | UTF-8 characters as unsigned integers

>> c[0].unpack('U')
[
    [0] 390
]
>
  • 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-29T05:27:34+00:00Added an answer on May 29, 2026 at 5:27 am

    You can find your answers here Unicode Character ‘LATIN CAPITAL LETTER OPEN O’ (U+0186):

    • Note that 186 (hexadecimal) === 390 (decimal)
    • C/C++/Java source code : “\u0186”
    • UTF-32 (decimal) : 390
    • UTF-8 (hex) : 0xC6 0x86 (i.e. 198 134)

    You can read more about UTF-8 encoding on Wikipedia’s article on UTF-8.

    • UTF-8 (UCS Transformation Format — 8-bit[1]) is a variable-width encoding that can represent every character in the Unicode character set. It was designed for backward compatibility with ASCII and to avoid the complications of endianness and byte order marks in UTF-16 and UTF-32.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I send these paramaters my script : Latitude : 41.0186 Longitude : 28.964701 (it
I'm looking to find a unicode character that looks like ≪ or ≫ but
I need to sort the results I get back from apache solr based on
How can I rename the file to a timestamp or random unique number before
Here's the code I wrote in the Application controller: class ApplicationController < ActionController::Base protect_from_forgery
Please help me to find the best solution for this puzzle? How to I
I am attempting to profile a long running python script. The script does some
I have a text file of this format: L O A D C A
What I have done so far, using PyQt classes: all_Addresses = QNetworkInterface.allAddresses() #list-of-QHostAddress for
I am considering using AppEngine for deploying a webapp which I am developing. As

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.