Mordel's Bar & Grill
Certain characters fail to save and delete the design
Post new topic   Reply to topic    Mordel's Bar & Grill Forum Index » Site Bugs and Enhancements
View previous topic :: View next topic  
Author Message
Captain_Frosty
ComStar
Private, First Class
Private, First Class


Joined: 22-Nov-2024 02:18
Posts: 46
Location: Greece
PostPosted: 16-Apr-2025 10:33    Post subject: Certain characters fail to save and delete the design Reply to topic Reply with quote

I didn't expect to need to make another report on another subject **this** soon.

I think this one's more on me but it's still worth noting.
I was creating a funny assault gun called the "Hastam Máo" it seems that using Chinese characters makes the site's save feature break and delete the design.

The first time, I thought it just failed to save. Worse yet, it only happens with some Chinese characters. The name itself has no issues but something about the manufacturer names just bricks the system.

If the designs can be found somewhere in the back-end, please restore them. The very first one, specifically, as that one has all the fluff I wrote for the damn thing. Sad

I know that's likely impossible but it's still worth noting that Chinese characters in the manufacturers tabs caused this. Might be worth looking into or at least making a warning for since Capella is a thing and someone might get unlucky for using google translate for flavor, like me.
Back to top View profile Send site message
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6160
Location: United States
PostPosted: 16-Apr-2025 13:43    Post subject: Certain characters fail to save and delete the design Reply to topic Reply with quote

Which characters are you experiencing this with? I just created a test design using 'Hastam Máo' in all the manufacturer fields I had and it worked fine.
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
Captain_Frosty
ComStar
Private, First Class
Private, First Class


Joined: 22-Nov-2024 02:18
Posts: 46
Location: Greece
PostPosted: 16-Apr-2025 14:09    Post subject: Certain characters fail to save and delete the design Reply to topic Reply with quote

The names were as follows:

Méiguī Machina v35 for engine (Seemed to work initially)

Dìqiú Telecoms "Tōngxùn qì v3" for communications

Dìqiú Telecoms "Jìngpiàn v2" for targetting.


The rest was in normal English (technically Latin but English characters) and worked fine.
Back to top View profile Send site message
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6160
Location: United States
PostPosted: 16-Apr-2025 14:51    Post subject: Certain characters fail to save and delete the design Reply to topic Reply with quote

I didn't have a problem with any of these characters and submitted the unit fine (see www.mordel.net/tro.php?a=vt&ut=bm&id=55319). So I'm not able to reproduce, so curious if something else is going on?
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
Captain_Frosty
ComStar
Private, First Class
Private, First Class


Joined: 22-Nov-2024 02:18
Posts: 46
Location: Greece
PostPosted: 16-Apr-2025 15:25    Post subject: Certain characters fail to save and delete the design Reply to topic Reply with quote

I found the specific phrase!

Quánqiú de Telecoms seems to be the specific words that cause the issue.

I recreated the unit and after fixing the name from "Dìqiú Telecoms" to "Quánqiú de Telecoms" it did it again!

I've tried to add attachment screenshots but it seems that .png and .jpg are not supported... or at least it isn't working for me.

Note that the unit got deleted after I already had saved it with the old names. Here's the exact screenshots (through switch "Dìqiú Telecoms" to "Quánqiú de Telecoms")
Back to top View profile Send site message
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6160
Location: United States
PostPosted: 17-Apr-2025 08:41    Post subject: Certain characters fail to save and delete the design Reply to topic Reply with quote

OK, so I still can't seem to reproduce, can you provide EXACT steps from the moment you open the unit designer, starting with a fresh design?

I also updated the site to allow image attachments (I hope).
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
Captain_Frosty
ComStar
Private, First Class
Private, First Class


Joined: 22-Nov-2024 02:18
Posts: 46
Location: Greece
PostPosted: 17-Apr-2025 17:57    Post subject: Certain characters fail to save and delete the design Reply to topic Reply with quote

Trying to attach images didn't work; it just threw me into an empty version of the site. I've thrown the screenshots into a PDF, though for some reason Acrobat decided to utterly scuff the quality... I honestly don't know what is happening anymore XD

Anyway. Despite the quality (or lack thereof), the details are readable. Just replace "Dìqiú Telecoms" with "Quánqiú de Telecoms" and the glitch replicates, at least for me.

I've tried on both my work PC and my office computer, though I highly doubt that has an effect, it might be worth mentioning just in case.


Hastam mao images.pdf
 Description:  
Download
 Filename: Hastam mao images.pdf 
 Filesize: 369.01 KB 
 Downloaded: 18 Time(s) 
Back to top View profile Send site message
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6160
Location: United States
PostPosted: 18-Apr-2025 08:59    Post subject: Certain characters fail to save and delete the design Reply to topic Reply with quote

Image attachment issue aside (I saw some errors posted to the server with regards to that which I'll ignore for now), I did figure out the issue.

A while back I converted everything to support UTF-8 and extended a lot of columns to account for the fact that Chinese characters take up to 4 bytes of space each. However, there are apparently still some flaws in the way I implemented it. The string you tried to submit was 60 bytes long, when the field only supports 58 bytes. This is why it happens sometimes and not others. It isn't any single character that is an issue, it's the quantities of those characters within the string.

I'll create a bug for this.
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
Display posts from previous:
Post new topic   Reply to topic    Mordel's Bar & Grill Forum Index » Site Bugs and Enhancements All times are GMT-04:00

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum