-
-
Save Maltysen/70f56bdbaa82f308cb03 to your computer and use it in GitHub Desktop.
Portable Small Caps Challenge Spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*Inspired by @CᴏɴᴏʀO'Bʀɪᴇɴ's username.* | |
*Also thanks to @Doorknob for showing me the existence of `ǫ` and `x`.* | |
Small Caps are pretty cool. They are unicode characters that replace small letters. They look just like the capital ones, but smaller, and look really official. Your task is to write a program that converts regular text into small caps. | |
Here is a list of the unicode characters for small caps: | |
ᴀ ʙ ᴄ ᴅ ᴇ ꜰ ɢ ʜ ɪ ᴊ ᴋ ʟ ᴍ ɴ ᴏ ᴘ ǫ ʀ ꜱ ᴛ ᴜ ᴠ ᴡ x ʏ ᴢ | |
##Clarifications | |
- Regular caps remain regular caps and so do punctuations, spaces, etc. | |
- Input can be multiple lines. | |
- This is [tag:code-golf], so shortest code in **bytes** wins! | |
##Test Cases | |
Hello World -> Hᴇʟʟᴏ Wᴏʀʟᴅ | |
abcdefghijklmnopqrstuvwxyz -> ᴀʙᴄᴅᴇꜰɢʜɪᴊᴋʟᴍɴᴏᴘǫʀꜱᴛᴜᴠᴡxʏᴢ | |
Welcome to Programming Puzzles and Code Golf Stackexchange! | |
It is a website -> | |
Wᴇʟᴄᴏᴍᴇ ᴛᴏ Pʀᴏɢʀᴀᴍᴍɪɴɢ Pᴜᴢᴢʟᴇꜱ ᴀɴᴅ Cᴏᴅᴇ Gᴏʟꜰ Sᴛᴀᴄᴋᴇxᴄʜᴀɴɢᴇ! | |
Iᴛ ɪꜱ ᴀ ᴡᴇʙꜱɪᴛᴇ. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment