123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|683|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> On Topic -> Unicode vs Code

Sun, 19 Dec 2021, 06:27
HoboBen
After the ’’Place the Countries’’ thread I remembered some of you guys (Afr0 especially) are always interested in weird Welsh language stuff so here's my trouble with Welsh and Python 2! Hope its of interest Linkage

-=-=-
blog | work | code | more code
Sun, 19 Dec 2021, 06:27
Jayenkai
That's not specific to Python though, is it? Pretty much any 8-bit language would be natively lacking it, and you'd need to resort to SYMBOL/Otherwise to implement it.

JSE doesn't do >chr(255) either, but that's less capability, and more down to how I slapped together 30+ font styles into one ginormous web font!! Didn't really leave a lot of space for much more than the basics.

-=-=-
''Load, Next List!''
Sun, 19 Dec 2021, 15:41
HoboBen
Python 2 *wasn't* 8 bit - it supported Unicode. Just really really awkwardly!!!

Even in C, you can usually treat everything as utf-8 and it's fine too

-=-=-
blog | work | code | more code
Sun, 19 Dec 2021, 17:19
Jayenkai
Yeah, that transition period was a git.
I remember my first experience with Unicode being 99% frustration, to the point where I avoided touching Unicode at all for about a decade.
.. Was it mobile dev? I think it was.. The little Orange SPV that ran Windows Mobile.
I definitely coded a few games for that, and .. Yes, it was when doing Stringy Things for it.
I eventually gave up trying to use the String functions altogether, and made my own Byte-based ASCII numbering system.
The Unicode was just awful on there..

There are other habits I have from that time, too, like how I tend to use single-dim arrays and maths instead of properly using multi-dim arrays.
And the whole "Multiply n by a pre-calculated 1/x, instead of doing n/x" .. Ugh.. Such slowdown when you try to divide..

Yeah, those are bad baad baaaad memories..

I was just suggesting 8-bits because those didn't have any kind of Unicode.. Heck, ASCII wasn't even standard, back then.
It constantly surprises me that 8-bit systems were as big as they were in Japan, given such a huge limitation of only 256 chrs, which were taken up by a ton of english letters.

-=-=-
''Load, Next List!''