#Change temperature units to their Unicode counterpart

1 messages · Page 1 of 1 (latest)

neon pecan
jade karma
#

ngl i think most fonts make the unicode ones look worse

#

°C ℃
°F ℉

candid stratus
#

The youtube stuff looks cool

neon pecan
neon pecan
# candid stratus The youtube stuff looks cool

it's hella pain
i'm basically writing a YT link parser in regex
once i get it i will be able to only extract the video id and timestamp and clean the link of the junk no matter where the argument for those is

#

honestly i think i should just write a userplugin instead
because while regex is powerful using variable randomly positioned groups is hard

#

my biggest issue is that somehow the regex isn't greedy enough

candid stratus
#

That’s really neat

neon pecan
#

i wanna die

#

i did it

#

it's F ass

#

but it works

#

nvm forget everything

neon pecan
#

Change temperature units to their Unicode counterpart

pearl fox
#

last escarp
#

what si the point of this i've never see anyone spell the celsius with a Degree symbol

neon pecan
last escarp
#

I mean in normal conversations

#

mac moment

fast field
#

so like 3℃

#

Turns into that

#

Or *F

#

Same thing

last escarp
#

^

river verge
#

only real ones measure temp in radians

#

but anyways imo looks weird in the unicode version, like the height is smaller than the number

lapis isle
#

then you can use new URL()

neon pecan
molten notch
#

https://www.unicode.org/versions/Unicode9.0.0/ch22.pdf

page 7

In normal use, it is better to represent degrees Celsius “°C” with a sequence of U+00B0 degree sign + U+0043 latin capital letter c, rather than U+2103 degree celsius. For searching, treat these two sequences as identical. Similarly, the sequence U+00B0 degree sign + U+0046 latin capital letter f is preferred over U+2109 degree fahrenheit, and those two sequences should be treated as identical for searching.

balmy kayak
#

30°F