Skip to main content

Questions tagged [unicode]

Unicode is intended to be a universal character set for describing all the characters required for written text incorporating all writing systems, technical symbols and punctuation.

4 votes
2 answers
681 views

I already asked this question, but the script I provided was not compliant to PEP-8, so I rewrote the script for better readability. I'm making a platformer game called Uni where this small character ...
Chip01's user avatar
  • 687
6 votes
3 answers
1k views

I'm making a platformer game called Uni where this small character has to go as high as possible, in which the player constantly has to choose between jumping (W) going left or right (A-D) climbing ...
Chip01's user avatar
  • 687
8 votes
2 answers
155 views

This is my attempt to implement view adapters that convert between UCS-4, UTF-16 and UTF-8 (the UTF-16 ⟷ UTF-8 conversions must go via UCS-4). Compared to the deprecated standard ...
Toby Speight's user avatar
  • 88.7k
6 votes
3 answers
1k views

I was recently working through the PintOS projects and became curious if there was a better way to do some string processing in C. Specifically, instead of strtok_r,...
Alex Lopez's user avatar
6 votes
1 answer
799 views

VBA is a language that's lacking a lot of basic functionality. (Pun intended) Most libraries, if they exist in the first place, are OS-specific, and even some of the inbuilt functions don't work on ...
GWD's user avatar
  • 195
0 votes
1 answer
195 views

I am working on a lexer in rust. It has been through many different iterations, going from iterating over a Vec<char> to ...
xxxxxxxxxx's user avatar
6 votes
1 answer
2k views

For school, I have to create a server-client communication through Unix signals and only with SIGUSR1 and SIGUSR2. Client ...
dieri's user avatar
  • 61
1 vote
2 answers
217 views

I added the getCValue method to reduce the cyclomatic complexity, but the cyclomatic complexity still persists. How can I reduce it? Can I change this code using ...
stromboli's user avatar
5 votes
1 answer
501 views

Description This script takes any domain input from STDIN and converts unicode domains into punycode. Features Any domains that throw an error get ignored. When fed any ASCII domains, they just pass ...
T145's user avatar
  • 3,159
4 votes
2 answers
833 views

A follow-up for this previous question. I took into account previous reviews, and tried to make a simple API. I had never done anything non-trivial with C++20 concepts and ranges until now, so I am ...
Aykhan Hagverdili's user avatar
6 votes
4 answers
3k views

Below is an implementation of a UTF-8 string to UTF-16 string. Kind of like MultiByteToWideChar on Win32, but it's cross-platform and ...
Aykhan Hagverdili's user avatar
3 votes
1 answer
172 views

My code is ...
Alexey Romanov's user avatar
10 votes
2 answers
1k views

This project was highly inspired by the popular drawille project, that lets one draw to the terminal using the braille unicode characters. The advantage of drawing with braille characters compared to ...
766F6964's user avatar
  • 901
8 votes
1 answer
4k views

This set of questions are related to a project I've published for converting characters, or strings, to Hex based Unicode; eg... ...
S0AndS0's user avatar
  • 978
2 votes
1 answer
2k views

I have created a function that converts from UTF-16 to UTF-8. This function converts from UTF-16 to codepoint firstly, then from codepoint to UTF-8. ...
Lion King's user avatar
  • 149

15 30 50 per page
1
2 3 4 5 6