Questions tagged [unicode]

For challenges involving unicode.

Filter by
Sorted by
Tagged with
86 votes
13 answers
8k views

Z̡̬a̧̯̔l̆̓g̛̘̟o̡ generator

Write a program or function that transforms an input string into Zalgo text. For example, for an input string Zalgo, a possible output might look like: ...
Fatalize's user avatar
  • 38.4k
76 votes
16 answers
14k views

Hello World in Multiple Languages

Task Create a program or a function that is valid in multiple programming languages, and when compiled/interpreted as a different language outputs "Hello, World!" in a different natural language. ...
Steadybox's user avatar
  • 16.5k
74 votes
12 answers
13k views

Operation Unz̖̬̜̺̬a͇͖̯͔͉l̟̭g͕̝̼͇͓̪͍o̬̝͍̹̻

I'm sure you're all familiar with Z̃͗̇̚͟Ḁ̬̹̈̊̂̏̚L̜̼͊ͣ̈́̿̚G̱̮ͩ̃͑̆ͤ̂̚Õ̷͇͉̺̜̲ͩ́ͪͬͦ͐ ̪̀ͤͨ͛̍̈͢ĝ̭͇̻̊ͮ̾͂e̬̤͔̩̋ͮ̊̈ͭ̓̃n͖͎̘̭̯̳͎͒͂̏̃̾ͯe͕̖̋ͧ͑ͪ̑r̛ͩa̴͕̥̺̺̫̾ͭ͂ͥ̄ͧ͆t͍̻̘̆o͓̥ͤͫ̃̈̂r̹̤͇̰̻̯̐ͮ̈́ͦ͂͞. If not, you can play ...
Joshua's user avatar
  • 3,446
53 votes
22 answers
6k views

Sᴍᴀʟʟ Cᴀᴘꜱ Cᴏɴᴠᴇʀᴛᴇʀ

Portable Spec. Iɴꜱᴘɪʀᴇᴅ ʙʏ @ConorO'Brien's ᴜꜱᴇʀɴᴀᴍᴇ. Aʟꜱᴏ ᴛʜᴀɴᴋꜱ ᴛᴏ @Dᴏᴏʀᴋɴᴏʙ ꜰᴏʀ ꜱʜᴏᴡɪɴɢ ᴍᴇ ᴛʜᴇ ᴇxɪꜱᴛᴇɴᴄᴇ ᴏꜰ ǫ ᴀɴᴅ x. Sᴍᴀʟʟ ...
Maltysen's user avatar
  • 25.7k
50 votes
12 answers
3k views

Braille graphics

Cut a boolean matrix in 4x2 blocks and render them as Braille characters U+2800...U+28FF. ...
ngn's user avatar
  • 15.2k
43 votes
19 answers
3k views

Print the character names [closed]

Every Unicode character has a name, like "LATIN CAPITAL LETTER A". A Unicode character name may contain only uppercase letters, white spaces, and the minus sign. Write a program that reads a text and ...
me and my cat's user avatar
37 votes
20 answers
7k views

I give you ascii-art, you make it pseudo-3d

Do you know the optical effect of a tridimensional hand painted whit horizontal lines? Examples This challenge consists of making something like that effect with ascii, and transforming one 2d input ...
ZeroCodeException's user avatar
35 votes
6 answers
3k views

Convert to UTF-∞

It's 22022 and the Unicode consortium is having a problem. After the writing system of the ⮧⣝Ⅲⴄ⟢⧩⋓⣠ civilization was assigned the last Unicode block, the consortium members have been scrambling to ...
AnttiP's user avatar
  • 7,828
29 votes
31 answers
6k views

When I grow up I want to be ASCII

Task Your task is to take a character in: AÁÀÃÂBCÇDEÉÊFGHIÍJKLMNOÕÓÔPQRSTUÚVWXYZaáàãâbcçdeéêfghiíjklmnoõóôpqrstuúvwxyz and turn it into a characters in: ...
RGS's user avatar
  • 14k
29 votes
30 answers
3k views

Bytes/Character

Task Given a UTF-8 string (by any means) answer (by any means) an equivalent list where every element is the number of bytes used to encode the corresponding input character. Examples ...
Adám's user avatar
  • 29.9k
29 votes
20 answers
3k views

Convert to Suzhou numerals

Suzhou numerals (蘇州碼子; also 花碼) are Chinese decimal numerals: 0 〇 1 〡 一 2 〢 二 3 〣 三 4 〤 5 〥 6 〦 7 〧 8 〨 9 〩 They pretty much work like Arabic numerals, except ...
user avatar
28 votes
12 answers
4k views

𝗠𝗮𝘁𝗵 𝖲𝖺𝗇𝗌 𝗔𝗹𝘁𝗲𝗿𝗻𝗮𝘁𝗼𝗿

Introduction Try to convert words to two different unicode fonts. Challenge Your task is to transform your input string into the 𝖬𝖺𝗍𝗁 𝖲𝖺𝗇𝗌 and 𝗠𝗮𝘁𝗵 𝗦𝗮𝗻𝘀 𝗕𝗼𝗹𝗱 unicode characters. ...
pfg's user avatar
  • 875
27 votes
41 answers
6k views

All you have to do is print the number 1! ...Twice

Your task In your language of choice: create a program that outputs 1 This 1 may either be a string or value equivalent to the ...
Graviton's user avatar
  • 2,801
27 votes
10 answers
1k views

How fast can I say your program?

I recently decided to download some dictation software, in order to help with my writing. However, it doesn't work very well when I'm coding, since I have to change from saying words to symbols and ...
Jo King's user avatar
  • 47.1k
26 votes
11 answers
2k views

HE COMETH NOT - a zalgo challenge [duplicate]

Write a program or function that, given a string, will strip it of zalgo, if any exists. Zalgo For this post, zalgo is defined as any character from the following Unicode ranges: Combining ...
totallyhuman's user avatar
  • 16.3k
26 votes
3 answers
810 views

Can this village have a wedding?

The quaint hamlet of Кодгольф in the Russian far east has a problem: their population is low (below 66), and no new people have arrived for years. Moreover, after centuries of near-isolation, just ...
KeizerHarm's user avatar
  • 1,171
25 votes
12 answers
3k views

Bake me some moji

Given a string, character list, byte stream, sequence… which is both valid UTF-8 and valid Windows-1252 (most languages will probably want to take a normal UTF-8 string), convert it from (that is, ...
Adám's user avatar
  • 29.9k
25 votes
28 answers
4k views

Parse my Esperanto!

The famous constructed language Esperanto uses the Latin alphabet (mostly, see the linked wikipedia page for details). However, there are some characters with accents: ĉ, ĝ, ĥ, ĵ, ŝ, and ŭ. (C-...
AAM111's user avatar
  • 1,585
25 votes
8 answers
2k views

Take that frown and turn it around

A celebration of the many faces of APL Given a string among those in column 1 or column 2 of the below table, return the string's neighbor to its right. In other words, if given a string in column 1 ...
Adám's user avatar
  • 29.9k
24 votes
27 answers
6k views

Output the Hebrew alphabet

Your task is to print this exact text: אבגדהוזחטיכךלמםנןסעפףצץקרשת (You are allowed to print a trailing newline) SHA256 hash of the UTF-8 encoding of the text: ...
TuxCrafting's user avatar
  • 4,817
24 votes
18 answers
5k views

Count the bytes of a program

Note 2: I accepted @DigitalTrauma's 6-byte long answer. If anyone can beat that I will change the accepted answer. Thanks for playing! Note: I will be accepting an ...
GamrCorps's user avatar
  • 7,502
23 votes
28 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
  • 5,420
23 votes
19 answers
2k views

Print a shuffled deck of cards

Input None Output 52 cards. No duplicates. Cards are represented as their unicode characters, e.g. 🂹. The Unicode codepoints follow the following format: The first three digits are ...
anna328p's user avatar
  • 6,334
23 votes
3 answers
2k views

Decode Faux Braille

...
ngn's user avatar
  • 15.2k
23 votes
3 answers
1k views

Pretty print a grid of polyominoes

Write a function that accepts a rectangular grid of ids in any reasonable format, for example a multi-line string: IIILOO ILLLOO and a string or list of box ...
loopy walt's user avatar
22 votes
10 answers
3k views

Braille-ify a string

And no, This is not a dupe of Translate ASCII text to braille. There are 28=256 Braille patterns in Unicode. (By 'Braille' I mean 8-cell ones) W, wait. How many ASCII characters were there? 27 = 128? ...
Matthew Roh's user avatar
  • 5,353
22 votes
9 answers
1k views

Unicode T-square

Challenge Create a function or program that, when given an integer size, behaves the following way: If size is equal to 1, ...
zdimension's user avatar
21 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
  • 5,447
21 votes
11 answers
3k views

Unicode Fractions

Given a fraction in the format m/n (where m and n are coprime integers), output the corresponding Unicode fraction. Your program/function will not be expected to ...
0WJYxW9FMN's user avatar
  • 2,763
21 votes
11 answers
2k views

Sort of numbers

Within the recesses of Unicode characters, there exists a Unicode block of (currently) 63 characters named "Number Forms", which consists of characters that have numerical values such as the roman ...
Jo King's user avatar
  • 47.1k
20 votes
26 answers
3k views

Print Real Invisible Text

My previous challenge, Print invisible text was quite popular, likely due to how trivial it is. However those more observant of you may have noticed that you're not really printing invisible text, ...
Mayube's user avatar
  • 11.6k
19 votes
7 answers
1k views

Is it an emoji?

I've been working on this iOS app recently and I encountered a (rather easily solved) problem: How do I determine if my string is comprised only of emojis? Well, that's your job today! Input A ...
Daniel's user avatar
  • 6,693
18 votes
16 answers
3k views

Output "Lorem ipsum" with minimal number of characters

I remember people saying that code size should be measured in bytes, and not in characters, because it's possible to store information with weird Unicode characters, which have no visual meaning. How ...
anatolyg's user avatar
  • 13.1k
18 votes
3 answers
809 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 ...
Wheat Wizard's user avatar
  • 96.5k
18 votes
4 answers
2k views

Unicode UTF Converter

The goal is to create a fully compliant converter between the official Unicode encodings as given in the UTF FAQ. Given that this is centred on Unicode, I will accept the answer with the lowest byte ...
DPenner1's user avatar
  • 991
18 votes
6 answers
944 views

Reverse Boustrophedon Text

Boustrophedon is a type of bi-directional text where successive lines alternate between reading left-to-right and right-to-left. Character direction was also mirrored with respect to reading direction....
Dendrobium's user avatar
  • 2,502
17 votes
38 answers
3k views

Convert superscript numbers to normal numbers

Introduction My gnome friends are writing a programming language and have asked for my help. Due to their size, the gnomes can only handle small superscript numbers instead of big numbers. However, ...
Ginger's user avatar
  • 5,420
17 votes
34 answers
2k views

Spell out the Revu'a

Actually not inspired neither by Atbash Self Palindromes nor by Generalized Gematria Calculator. Given a string s of length n, output the Revu'a sequence, which is the first character of s, the first ...
Adám's user avatar
  • 29.9k
17 votes
13 answers
4k views

Parse a Unicode vulgar fraction

Objective Given a string with single Unicode vulgar fraction, parse it to a rational number. Valid inputs A valid input is one of: ¼ U+00BC; one quarter ...
Dannyu NDos's user avatar
  • 5,447
17 votes
14 answers
1k views

Convert CSV to Table

The Challenge Given a CSV input, output a proper unicode table using box characters. Formatting The table will be formatted using the following rules: Column width will be equal to the longest ...
Shaun Wild's user avatar
  • 2,491
17 votes
4 answers
461 views

Cross-Alphabetic Characters

Background I saw this very interesting Venn Diagram on wikipedia: https://simple.wikipedia.org/wiki/Alphabet#/media/File:Venn_diagram_gr_la_ru.svg It shows the letters (physical shapes) in different ...
simonalexander2005's user avatar
16 votes
17 answers
1k views

Supreme Sum String

Supreme Sum String Given an input string, return the word with the highest sum of each of its unicode characters. Rules The input should be seperated by whitespace The value of each word is based ...
GammaGames's user avatar
  • 1,095
16 votes
5 answers
2k views

What's the current zodiac?

Display the emoji of the eastern zodiac of given time, according to given country. The eastern zodiac is a classification scheme that assigns an animal and its reputed attributes to each year in a ...
Dannyu NDos's user avatar
  • 5,447
16 votes
1 answer
267 views

Squish-unsquish ligatures

Here is a list of some common ligatures in Unicode (the ones I could create with my Compose key on Debian): ...
Doorknob's user avatar
  • 71.4k
15 votes
9 answers
2k views

Full name quine

Most Unicode characters have full names, for example is "RIGHT DOUBLE QUOTATION MARK". You can find a useful reference here, just type in the character ...
emanresu A's user avatar
  • 35.6k
15 votes
5 answers
678 views

Wuxings in Positive Action

Background Wuxings(五行) are the five "elements" in Chinese philosophy. They are Fire(火), Water(水), Wood(木), Metal(金), and Soil(土). You can find them on East Asian calendar, where some days (...
Dannyu NDos's user avatar
  • 5,447
15 votes
1 answer
869 views

Convert ASCII box drawing into Unicode

I am shamelessly posting a request for something I would actually find useful. The task is to take an arbitrary ascii box drawing like this ...
Alex Zeffertt's user avatar
14 votes
12 answers
1k 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
  • 20.5k
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_ ...
Rydwolf Programs's user avatar
13 votes
12 answers
2k views

Convert codepoint to UTF-9

UTF-9 was an April Fool's Day RFC joke specifications for encoding Unicode suitable for 9-bit nonet platforms. Challenge Your task is to implement a program or a function or a subroutine that takes ...
user avatar