Discuss Scratch

46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

In things like comments, studio titles, and forum posts, Scratch prevents them from being empty by not just preventing empty comments, but also disallowing only whitespace characters. So, how did I create an empty subject title for my Bugs and Glitches topic (before I changed the title from “​” to ‘Zero-width spaces not being counted as “empty”’)? Well, this is because Scratch did not list this as a whitespace character yet; only very common whitespaces seem to be listed, such as space and enter keys on a regular English keyboard. The character I actually used was a zero-width space (​, ​, or ​ in HTML or U+200B in Unicode/UTF-8), which Scratch didn't think was a whitespace character, which is the bug here if you couldn't already tell and I think Scratch should fix this bug.

Last edited by 46009361 (Dec. 26, 2020 06:13:40)

RedGuy7
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Also if you put in an unsupported unicode emoji
46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

RedGuy7 wrote:

Also if you put in an unsupported unicode emoji
wdym
RedGuy7
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

46009361 wrote:

RedGuy7 wrote:

Also if you put in an unsupported unicode emoji
wdym
There's only a handful of unicode characters supported. Many of the unsupported ones are emojis. You can use them to create blank comments or posts

Last edited by Paddle2See (April 23, 2021 00:57:55)

mtech22
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

RedGuy7 wrote:

46009361 wrote:

RedGuy7 wrote:

Also if you put in an unsupported unicode emoji
wdym
There's only a handful of unicode characters supported. Many of the unsupported ones are emojis. You can use them to create blank comments or posts
Not all of them, some of them will say “Oops, something went wrong with posting your comment!”

Last edited by Paddle2See (April 23, 2021 00:58:26)

46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

mtech22 wrote:

RedGuy7 wrote:

46009361 wrote:

RedGuy7 wrote:

Also if you put in an unsupported unicode emoji
wdym
There's only a handful of unicode characters supported. Many of the unsupported ones are emojis. You can use them to create blank comments or posts
Not all of them, some of them will say “Oops, something went wrong with posting your comment!”
Things like the tutorial that says something like WorldLanguages empty comment generator won't say something went wrong, though.

Last edited by 46009361 (April 23, 2021 00:39:08)

46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Bump*

*The forum timestamps are three hours ahead of my timezone and I'm about to sleep as of the time of writing.

Last edited by 46009361 (Dec. 13, 2020 06:18:14)

Pianostar4
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

When I tried to post an empty comment using a Christmas tree emoji, it said “You cannot post an empty comment.”
46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Pianostar4 wrote:

When I tried to post an empty comment using a Christmas tree emoji, it said “You cannot post an empty comment.”
The zero-width space is not an emoji, though.
46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Bump
mtech22
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Could you add a title? It is a minor inconvenience for me to click to it through my messages.
46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

mtech22 wrote:

Could you add a title? It is a minor inconvenience for me to click to it through my messages.
You can click on the date of the latest post in the Bugs and Glitches forum page to jump to the topic. But that will also jump you to the post.
46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Why did this thread go off the first page before 24 UTC hours have elapsed?
46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Bump
zHmonster
Scratcher
100+ posts

Zero-width spaces not being counted as "empty"

GoboSnack
Scratcher
100+ posts

Zero-width spaces not being counted as "empty"

46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

zHmonster wrote:

GoboSnack wrote:

I know that the post itself can also be empty. However, if my OP used only the zero-width space character, I would mostly get alerted for spamming a random, unexpected topic in the forums.
-InsanityPlays-
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

​​​​​​Wow, it works!

Last edited by -InsanityPlays- (Dec. 23, 2020 11:43:24)

46009361
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Bump.

Last edited by 46009361 (April 23, 2021 00:39:35)

Burgher1679
Scratcher
1000+ posts

Zero-width spaces not being counted as "empty"

Powered by DjangoBB