Reviewers Recommend
Better Than The Real ThingBetter Than The Real Thing - review by Captain Jack
Director: Ricky Greenwood, Michael Vegas, Avery Black, Siouxsie Q.
Starring: Karla Lane, Serene Siren, Selena Love, Little Puck, Summer Col, Hailey Rose, Annie King. Read review
All Forums > Tech Talk > Tech Talk Forum Page 4 > 100 hex better
AuthorPost
lex von v
Senior Member

2511 Posts
12/12
Posted - Jul 19 2021 : 12:29PM
A silly question perhaps, but why does the forum software change the text "100‌x" to "100 hex"

All over the forum people write "I like XYZ 10‌x better than ABC", but it always reads as "I like XYZ 10 hex better than ABC"

Drew Black
broken crankshaft

8031 Posts
9/99
Posted - Jul 19 2021 : 12:45PM
It's a bug due to crappy regex/string processing on my part. Some older representations of hexadecimal notation used 'NNx' format. I've got some old code that rewrites that as 'NN hex'. I don't remember why but I think it had something to do with anti-SQL injection processing. Some of the forum code is 20+ years old.


lex von v
Senior Member

2511 Posts
12/12
Posted - Jul 19 2021 : 12:54PM
^ good thing my keyboard has both the ZWNJ character that I can put between the number and the x, or even the × times symbol (U+00D7).

In other news: the ZWNJ character also comes handy if one writes a tweet and wants to put a handle first. Instead of the dot (or whatever character) at the beginning of the tweet, the invisible (and zero space) non-joiner does the same job, but without any visual evidence.




Jump To: