Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Questions tagged [unicode]

For challenges involving the Unicode standards, or involving characters outside the ASCII codepage.

Filter by
Sorted by
Tagged with
23 votes
6 answers
2k views

Chinese periodic table of elements (元素周期表)

In Chinese, each chemical element is named with one Chinese character. (A brief history of the chemical element naming in Chinese can be looked up in Wikipedia.) Your goal: Print a periodic table of ...
8 votes
7 answers
943 views

Conversion between CESU-8 and UTF-8 (for supplementary characters)

The Compatibility Encoding Scheme for UTF-16: 8-Bit, also known as CESU-8, is a Unicode encoding that is not part of the Unicode standard, but mentioned in a Unicode Technical Report as a ...
12 votes
3 answers
556 views

UTF-8 character decoder (with invalid sequence handling)

UTF-8 is the most widely used character encoding on the internet. It encodes a Unicode code point into a byte sequence of 1 to 4 bytes long. The UTF-8 encoding has many features that makes it popular, ...
8 votes
4 answers
681 views

Toggle Hangul Vowel Harmony

(This post is partly self-plagiarized.) Objective Given a Hangul syllable, toggle its vowel harmony. Introduction to Hangul syllables Hangul(한글) is the Korean writing system invented by Sejong the ...
7 votes
9 answers
1k views

Braille-based Base64

Make a one-to-one map from the base64 character table(0-9a-zA-Z+/) to Braille(U+2800-U+283F). These characters are fixed map for compatibility. For other characters(aka. A-Z and +) you can map any ...
l4m2's user avatar
  • 32.4k
-3 votes
5 answers
400 views

Create the characters you can write on a MacOS US English Keyboard (as another OS will read them)

Introduction This is a small challenge I came up with while trying to make some compact code for my younger brother to use. I don't think it's particularly interesting, but I believe it presents some ...
Mel's user avatar
Mel
  • 109
17 votes
2 answers
381 views

Translate Japanese hiragana into the flick input method

The flick input method is a way of inputting Japanese kana on a modern smartphone. It is arranged in a 12-key layout, with the following labels: あかさ たなは まやら 小わ、 ...
14 votes
12 answers
2k views

Shift Braille down

Braille Patterns in Unicode contains 8 dots() and occupy area U+2800-U+28FF. Given a Braille Pattern character, where the bottom two dots are not used(aka. U+2800-...
l4m2's user avatar
  • 32.4k
22 votes
13 answers
3k views

Chinese color mixing

Objective Given two Chinese ideographs meaning basic colors, output the ideograph that means the color resulting from mixing them. Basic colors The basic colors are: 靑(U+9751; blue) 赤(U+8D64; red) 黃(...
Dannyu NDos's user avatar
  • 7,369
10 votes
6 answers
1k views

Translate the keitai input method into Japanese hiragana

The keitai input method is a method for writing Japanese kana on a 12-key phone keypad. Similar to Western keypads, each kana is assigned to a key; when the key is pressed multiple times, it cycles ...
12 votes
15 answers
1k views

Sum of strings (UTF-16 codepoints)

Your function must accept two strings and return new string where are UTF-16 code of all symbols is the sum of UTF-16 codes of inputs symbols If the resulting sum is greater than ...
25 votes
29 answers
2k views

Fractional Unicode Bars

Your program should take as input a number n that is greater than 0 and output a bar composed of n // 8 ▉ characters (U+2588), ...
Ginger's user avatar
  • 6,098
14 votes
11 answers
2k views

Compress Jelly's code page

In this challenge, you'll print out the SBCS of Jelly, a popular golfing language. Its code page looks like this: _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F 0_ ...
19 votes
3 answers
975 views

Universal Unicode Clock

Plot contrivance You wake up to find that something has gone horribly wrong! Your time machine has malfunctioned and you are lost sometime between June 2022 and October 1991. You check the computer ...
4 votes
0 answers
332 views

Convert To Shorthand Part 2

Part 1 of the challenge revolved around converting the letters into specific unicode characters. Lore In this part we receive the output from the function made in Part 1, which now has to be arranged ...

15 30 50 per page
1
2 3 4 5
...
7

AltStyle によって変換されたページ (->オリジナル) /