[SOLVED] [RVGL 18.1110a] UTF-8/Windows-1252 bug

Report issues or bugs in RVGL or ask for help regarding any Re-Volt topic.
User avatar
SebR
Posts: 168

[SOLVED] [RVGL 18.1110a] UTF-8/Windows-1252 bug

Unread post by SebR » Sat Nov 10, 2018 1:35 pm

Found this bug with an URV's All's Fair car called "Herr Schönerbus"

On previous release here is how it look like :
Image
download picture

And now (name bug on frontend and race and no more body) :
Image
download picture

NOTE : replacing the "ö" by "o" at car name on parameters.txt solve this issue

NOTE 2 : Found the same bug with "Dirt Gear n°2", removing the "°" fix the bug

NOTE 3 : tested on win32 and linux 32bit : it's the same
Last edited by SebR on Tue Nov 13, 2018 6:47 pm, edited 4 times in total.
Damn DROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
User avatar
kiwi
Posts: 557

Re: [RVGL] UTF-8/Windows-1252 bug with 18.1110a

Unread post by kiwi » Sat Nov 10, 2018 1:55 pm

Info: Your linked pictures are never visible to me, Seb.
Can't say if it's only an issue on my side.
User avatar
SebR
Posts: 168

Re: [RVGL] UTF-8/Windows-1252 bug with 18.1110a

Unread post by SebR » Sat Nov 10, 2018 2:08 pm

I add link to download pictures
Damn DROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
User avatar
URV
Administrator
Posts: 173
From: Europe 3

Re: [RVGL] UTF-8/Windows-1252 bug with 18.1110a

Unread post by URV » Sat Nov 10, 2018 5:42 pm

Tried it on Linux. It seems to act slightly different on my end:

Image

I still get the issue with the name (quite curious that everything after a space is fine, though), but the files seem to load up fine. Note that I'm using the RVZ version rather than the original AF2 release, though I don't think there are many differences between the two aside from the name and the additional variations provided in the RVZ version, so it shouldn't matter.

Re: Seb's pictures: That's because he uses Dropbox to upload the images. He would probably have to use a different image hosting service to be able to use them with the IMG BBCode.
User avatar
SebR
Posts: 168

Re: [RVGL 18.1110a] UTF-8/Windows-1252 bug

Unread post by SebR » Sat Nov 10, 2018 6:05 pm

having a : ö or ° on the car name gave the issue on win32 ...

About Dropbox it's strainge that i can see my images even if i'm not logged on TRH
Damn DROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
User avatar
Huki
Developer
Posts: 397

Re: [RVGL 18.1110a] UTF-8/Windows-1252 bug

Unread post by Huki » Sun Nov 11, 2018 6:45 am

Good catch, and reported just in time. I'll fix this.

For info, the bug causes a word containing extended ASCII to get truncated in some cases. The model loading issue happens when the closing double quote (") gets truncated, so it continues reading the next line as part of the NAME.
User avatar
SebR
Posts: 168

Re: [RVGL 18.1110a] UTF-8/Windows-1252 bug

Unread post by SebR » Mon Nov 12, 2018 7:56 pm

with 18.1112a it's far away better but not perfect ...

On Linux : "Dirt Gear n°2" appear as "Dirt Gear nx2"
Damn DROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
User avatar
Huki
Developer
Posts: 397

Re: [RVGL 18.1110a] UTF-8/Windows-1252 bug

Unread post by Huki » Tue Nov 13, 2018 12:34 pm

SebR wrote: Mon Nov 12, 2018 7:56 pm with 18.1112a it's far away better but not perfect ...

On Linux : "Dirt Gear n°2" appear as "Dirt Gear nx2"
Dirt Gear 2 looks correctly for me:

Image

I think your installation still has the old font files.
Make sure you're using font.bmo and font.bmp from the latest release.
User avatar
SebR
Posts: 168

Re: [RVGL 18.1110a] UTF-8/Windows-1252 bug

Unread post by SebR » Tue Nov 13, 2018 6:47 pm

it was the old font ... :oops:
Damn DROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
Locked