Log In
Fairy Weather Castform Don't have an account yet? Register now!
.

Forum Thread

Plushie Message Length error

Forum-Index Bug Reports Resolved Plushie Message Length error
Ravenswing
OFFLINE
Trainerlevel: 110

Forum Posts: 619
Posted: Sun, 23/01/2022 19:24 (2 Years ago)
I was sending a plushie and received an error that the message was over 500 characters. I edited it down to 500 exactly and still received the length error. Once reduced to 486 characters, the error is still happening but finally went through with 433 characters.





CatLady
OFFLINE
Trainerlevel: 103

Forum Posts: 8,596
Posted: Mon, 24/01/2022 20:44 (2 Years ago)
Special characters [& ~ ♥️ ] don't count as a single character.
As such, I'm not quite sure this actually is a bug?
Credits for avatar to ~Cookie~

Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
Ravenswing
OFFLINE
Trainerlevel: 110

Forum Posts: 619
Posted: Thu, 03/02/2022 07:24 (2 Years ago)
The issue was, though, that there was much less than 500 characters and it still would not post.
SwampFall
OFFLINE
Trainerlevel: 59

Forum Posts: 601
Posted: Sat, 05/02/2022 16:17 (2 Years ago)
The message is encoded (using HTML encoding) into
A thin sandy path follows the edge of the cliff overlooking a shallow bay with water as smooth as glass & so clear you can see the bottom. The tiny cottage at the path's end is weathered from years of sea spray but the smoke emanating from the chimney is inviting. Stepping through the door it's warm with a small fire over which cooks a pot of stew & the table holds a fresh loaf of bread, a small lamp & a book inviting me to sit, read, relax & contemplate the days ahead. Home ♥️ ~peg

This turns out to be 510 characters.

Personally, I believe the decoded character length should be used, not the encoded one (as the encoded one doesn't mean anything to people, so then it also doesn't make sense to say the max length is 500 characters).

P.S.:
I think ♥️ is 1 character. In things such as SMS, it is often viewed as 2 because it's not counting characters but bytes needed to encode the character.
LuckyLady
OFFLINE
Trainerlevel: 90

Forum Posts: 58
Posted: Sun, 03/07/2022 12:52 (2 Years ago)
I am also having problems with this. The error message says it needs less than 500 characters.

This is my proof: https://imgur.com/BVfX14S

It says characters 476 and still will not post. This needs to be changed to save confusion.

I've edited it where I can but as the above post says: encoding doesn't mean a thing to people who don't know such things.

*Edit: I changed one & symbol to "and" instead and it posted. But it now says it has 478 characters.
CatLady
OFFLINE
Trainerlevel: 103

Forum Posts: 8,596
Posted: Sun, 03/07/2022 12:59 (2 Years ago)
As SwampFall pointed out earlier, special characters [like ' ] are encoded into HTML and count for more than 1 character.
Credits for avatar to ~Cookie~

Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
LuckyLady
OFFLINE
Trainerlevel: 90

Forum Posts: 58
Posted: Sun, 03/07/2022 13:11 (2 Years ago)
Then it should be counted simply as characters as the error message says, and not html. I have no idea how that works, but then again neither do most people.
CatLady
OFFLINE
Trainerlevel: 103

Forum Posts: 8,596
Posted: Sun, 03/07/2022 13:19 (2 Years ago)
It can't "simply" be counted as a character ^^'. It's encoded to HTML, to make sure the character doesn't affect the execution of the code.

King's Rock ' is counted as a single character and it continues to cause problems in the Item Market.
Credits for avatar to ~Cookie~

Kitties! Riako has no idea what he unleashed with that update🙀
Collecting Lovely Larvesta and Silly Seel Plushies~
Looking for Ice Gems and Flying Gems here! Help me hunt a Shiny Articuno!
(You can win your own non-shiny Articuno in return)
Breeding events for the cause here!
LuckyLady
OFFLINE
Trainerlevel: 90

Forum Posts: 58
Posted: Sun, 03/07/2022 13:24 (2 Years ago)
Then to get around it, you should probably change the error message to include the html warning because it is misleading.