473,405 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Help filling in missing symbol representations?

SwissProgrammer
220 128KB
What are the missing [] parts in the following?

Thank you.



I have been working on writing a converter in C++ (not Visual Studio. Not .net) for Unicode. I am currently building a reference to test my program's results against it.

I have put together the following, but it is missing some parts and I am not certain if it is all correct as it is.

Therefore, please help me fill in the missing [] parts. Then I can run my program later and put in "A" or "办" and check against this table to see if my program returns the correct information.





For example:
I see that for "办" I have found
UTF-16 = [10011110 01010010]
UTF-16 = [\u529e] or [529e]

I looked at "A" and am not certain how to have the two types of representations there. Please tell me where that is to be found on the internet so that I may reference it and verify that I am using the correct information.




Thank you.


This is what I have so far:



[Symbol] to [Binary or UTF-8 or UTF-16 or etc.]


For the symbol "A"
Binary = [01000001]
UTF-8 Hexadecimal = [41]
Unicode Code Point = [41]

UTF-8 = [41]
UTF-8 = [] ?

UTF-16 = [01000001 00000000]
UTF-16 = [] ?

UTF-32 = [] ?
UTF-32 = [] ?

Decimal = [00065]
HTML = [A]
url-encoded Unicode = [A]
base64 = [QQ==]
data url = [data:text/plain;charset=utf-8;base64,QQ==]
bytes = [] ?
string literal = [\u0041]





For the symbol "办"
Binary = [101001010011110]
UTF-8 Hexadecimal = [529e] = [\xe5\x8a\x9e]
Unicode Code Point = [529e]

UTF-8 Binary = [11100101 10001010 10011110]
UTF-8 Hexadecimal = [\xe5\x8a\x9e] or [ e5 8a 9e] or [529e]

UTF-16 = [10011110 01010010]
UTF-16 = [\u529e] or [529e]

UTF-32 = [11100101 10001010 10011110]
UTF-32 = [0000529e]

Decimal = [21150]
url-encoded Unicode = [%e5%8a%9e]
base64 = [5Yqe]
HTML = [办]
data url = [data:text/plain;charset=utf-8;base64,5Yqe]
bytes = [0xe5 0x8a 0x9e]
string literal = [\u529e]
Dec 19 '20 #1

✓ answered by SioSio

If your PC OS is Windows 10, you can use the calculator's programmer mode to enter the binary, hexadecimal, and decimal numbers in this table.

You can check the character code at the following site.
https://www.compart.com/fr/unicode/U+529E

2 2634
SioSio
272 256MB
If your PC OS is Windows 10, you can use the calculator's programmer mode to enter the binary, hexadecimal, and decimal numbers in this table.

You can check the character code at the following site.
https://www.compart.com/fr/unicode/U+529E
Dec 21 '20 #2
SwissProgrammer
220 128KB
Thank you SioSio,

From various referenced, I have received different values, and I do not know which is correct.


For Unicode code point = [529E]


Should the following be called "UTF-8 Hexadecimal" or simply "UTF-8" or simply "Hexidecimal"?
UTF-8 Hexadecimal = [\xe5\x8a\x9E]


Or, should it be like this?
UTF-8 Hexadecimal = [529E]



Should the following be called "UTF-8 Binary" or simply "Binary"?
UTF-8 Binary = [11100101 10001010 10011110]



Is this labeled correctly?
UTF-8 Encoding = [\xe5 \x8a \x9E]


I want to make certain that my wording is correct.


Thank you SioSio.
Dec 23 '20 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Michael Wang | last post by:
Good afternoon folks: I am using oracle 9 which is installed in a solaris environment. I am able to startup an idle instance. Next, i use netca to configure a listener. At that time, the...
1
by: Warwick | last post by:
Hi, Can anyone tell me why the 'Symbol' font doesn't exist within my .NET framework environment? It is definitely installed on the computer, I can access it in word or using a RichTextBox control...
2
by: Peter Smithson | last post by:
Hi, I'm very new to C++ so bear with me. typedef list<string> jcllist; // list of strings typedef map<string, jcllist> proglist; // associative array of lists static proglist ProgList; I...
5
by: -elniniol999- | last post by:
I am DESPERATE for a quick reply.. have exhausted my options... i have a table called order details which contains: order id product id product name quantity unit price sale price
5
by: Jean Christophe Avard | last post by:
Hi! I have a query that INNER JOIN's three other tables. All the relation are 1 to 1, except for one, where an Item can have more than one price. I have this query that work fine in MSDE Query...
6
by: Bill | last post by:
Hi All, New to the whole .Net and C# thing but trying. In classic asp this was simple to fill a table with dynamic content and hyperlinks. Here is an example of what I am trying to do in classic...
1
by: jf39 | last post by:
Hi, Im just new in this stuff, does anyone know how to fill up a combobox in html using javascript? The info to retrieve is in a table in mysql It would be great if someone could me how to do... ...
1
by: Ste | last post by:
Hi, I have a situation from which the database objects of tables/forms/reports/module etc. are missing. After exit from switch board menu, nothing returns but blank. For a further look, the...
8
by: airy | last post by:
trying to use this insert statement for data-warehousing, can any1 help with debugging line 2 where select statement starts. INSERT INTO Sales (SELECT CO.CustomerID, TD.TimeID, OD.ISBN,...
12
by: ab12 | last post by:
I'm trying to write a program in C that gets a shape outlined with asterisks from the user, and returns that shape filled with asterisks. It will also get the coordinates of a point inside the shape...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.