Web: Crash when using Chinese letters and changing the webstyle

First of all: I can’t speak or write Chinese. I only try to translate my web app to Chinese with the help of Google Translate.

I found a reproducible crash, when you are using Chinese letters, and try to change the webstyle of a label at the same webpage.
The label - which webstyle I’ll change - don’t need to have a Chinese character. It crashes even when the Chinese letter is at another label which webstyle I didn’t change.

I made a small demo app, so you can test it:

https://github.com/marcelzimmer/xojo-bugreport-labels

[ I’m using Xojo 2017r1.1 Pro, with macOS Sierra 10.12.5 ]

Is this a xojo bug?
Or do I something wrong with UTF-8?

[quote=340618:@Marcel Zimmer]First of all: I can’t speak or write Chinese. I only try to translate my web app to Chinese with the help of Google Translate.

I found a reproducible crash, when you are using Chinese letters, and try to change the webstyle of a label at the same webpage.
The label - which webstyle I’ll change - don’t need to have a Chinese character. It crashes even when the Chinese letter is at another label which webstyle I didn’t change.

I made a small demo app, so you can test it:

https://github.com/marcelzimmer/xojo-bugreport-labels

[ I’m using Xojo 2017r1.1 Pro, with macOS Sierra 10.12.5 ][/quote]
Please file a bug report using Feedback and I’ll take a look at it.

Thank you. The feedback issue number is:

48782 - Web: Crash when using Chinese letters and changing the webstyle

[quote=340960:@Marcel Zimmer]Thank you. The feedback issue number is:

48782 - Web: Crash when using Chinese letters and changing the webstyle[/quote]
Yeah, we found it and it’s already fixed for a future release.

In the meantime, you could just compile as 32-bit.

Thank you :slight_smile:

[I have to stay at 64-bit. But I’m happy, that you found the bug.]

Its a known bug with string handling in 64 bit