#Change temperature units to their Unicode counterpart
1 messages · Page 1 of 1 (latest)
The youtube stuff looks cool
for me it's fine, but ig maybe
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
Yessss that’s what i’d hoped
That’s really neat
Yeah i get you…
Change temperature units to their Unicode counterpart
え
what si the point of this i've never see anyone spell the celsius with a Degree symbol
then you somehow only saw it wrong
both Farenheit and Celsius are Degrees with their symbols being °C and °F
Kelvin on the other end has K as symbol
I lowkey just use *C
so like 3℃
Turns into that
Or *F
Same thing
^
only real ones measure temp in radians
but anyways imo looks weird in the unicode version, like the height is smaller than the number
it'd be better to use a userplugin
then you can use new URL()
well indeed
for now this exist :w:
(i actually did succeed)
https://discord.com/channels/1015060230222131221/1285001024460951583
however, yeah i wrote my custom user plugin after, but i forgor where i put it and i lost it
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+0043latin capital letter c, rather than U+2103degree celsius. For searching, treat these two sequences as identical. Similarly, the sequence U+00B0degree sign+ U+0046latin capital letter fis preferred over U+2109degree fahrenheit, and those two sequences should be treated as identical for searching.
30°F