Author Topic: Testing various characters  (Read 8557 times)

0 Members and 2 Guests are viewing this topic.

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Testing various characters
« on: May 03, 2026, 01:58:57 pm »
I’m just testing some characters in relation to the recent database issue, away from the main thread to not cause noise.

My original post: ✗
At-sign, pound, euro (U+0040, U+00A3, U+20AC): ✗
Euro, pound, at-sign (different order): ✓/✗
£ €: ✓
Pound, at: ✓/✗
≥ …: ✓
greater-eq ellipsis at: ✓/✗

So I could post euro-pound-at sequence below, but I can neither send it in this post nor in the next message. And then I could again.

I could also send pound-at below, but I could not put it in this post.

Note that ✓ and ✗ pass with no issues (U+2713, U+2717). I now edited the pound-at post and added with ✓✗ too, and that still works. So these are not the factor and it’s not “exotic” codepoints that cause the issue.

Here ≥ … work with no problems, but I had to remove them in another post. I can even add the @ below. But if I try to add it here, it does not work. Except that I just did in the previous sentence and it passed.

At this point in this single post I collected all the mentioned/spotted codepoints. And it passes, despite it fails when I try to send them in other positions.

« Last Edit: May 03, 2026, 02:40:36 pm by golden_labels »
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Re: Testing various characters
« Reply #1 on: May 03, 2026, 02:03:16 pm »
Euro, pound, at-sign (different order)

€ £ @
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Re: Testing various characters
« Reply #2 on: May 03, 2026, 02:06:58 pm »
Euro, pound, at-sign, again

€ £ @

aaaaaaaaaaand
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Re: Testing various characters
« Reply #3 on: May 03, 2026, 02:11:17 pm »
Euro and pound only:

£ €

aaaand
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Re: Testing various characters
« Reply #4 on: May 03, 2026, 02:11:52 pm »
Pound and at only:

£ @

aaaand (✓ ✗ ?)
« Last Edit: May 03, 2026, 02:16:18 pm by golden_labels »
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Re: Testing various characters
« Reply #5 on: May 03, 2026, 02:26:40 pm »
Some more codepoints that were in my post that didn’t go through:

≥ …

aaaand

Why 📎 | We live in times when half of people have IQ below 100.
 

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Re: Testing various characters
« Reply #6 on: May 03, 2026, 02:29:10 pm »
Adding at-sign to the mix:

≥ … @

aaaand
Why 📎 | We live in times when half of people have IQ below 100.
 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 8349
  • Country: fi
    • My home page and email address
Re: Testing various characters
« Reply #7 on: May 03, 2026, 03:12:41 pm »
So I could post euro-pound-at sequence below, but I can neither send it in this post nor in the next message.
Could it be interference from the Mentions facility/processing filter?

One way to defuse that is to add say [i][/i] after the at sign, similar to how you can emit \$ without triggering the inline-MathJax conversion.
 

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Re: Testing various characters
« Reply #8 on: May 03, 2026, 04:33:40 pm »
The mentions feature has been present last month too, and in the years before. Why would suddenly so many people be affected by it and why would it be reported as a database error?

I’m not dismissing the idea. The questions are meant to be investigative, not critical.

edit: all these three fail (fullwidth used to circumvent special treatment and the bug):
@[i][/i] £ €
[i]@[/i] £ €
@ [i]£ €[/i]

It also fails, if the entire at-pound-euro sequence is placed inside the code tags, which should disable any special processing.


« Last Edit: May 03, 2026, 04:45:27 pm by golden_labels »
Why 📎 | We live in times when half of people have IQ below 100.
 
The following users thanked this post: Nominal Animal

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 8349
  • Country: fi
    • My home page and email address
Re: Testing various characters
« Reply #9 on: May 03, 2026, 05:52:52 pm »
The questions are meant to be investigative, not critical.
Yes, I understood them as such also.

The @ character is not a "special character" in PHP or SQL queries.  It is only "special" with respect to Mentions when SMF BBcode is processed.  I suspect a bug in the related PHP code, triggered by an update in the PHP interpreter or change in server/PHP configuration.  Even the Database error fits, if one looks at 2.1beta1/Sources/Mentions.php:class Mentions (closest version to 2.0.19 I could find online).
 

Offline golden_labelsTopic starter

  • Super Contributor
  • ***
  • Posts: 2440
  • Country: pl
Re: Testing various characters
« Reply #10 on: May 03, 2026, 06:37:20 pm »
That’s purely speculative. But let’s assume the following scenario:
  • Some table definition has no explicit encoding set on text fields.
  • There is a bug in code. It improperly detects mentions, but since the invalid detections are not actual usernames, they’re silently ignored and the bug lives unnoticed.
  • The RDBMS has been recently updated to a newer version, which changes the fallback/default encoding used.
I can imagine that after the update the invalid usernames cause an encoding error, instead of being silently ignored.

That would be a very nice mandelbug and shroedinbug at the same time.
Why 📎 | We live in times when half of people have IQ below 100.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf