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

Report issues and bugs here.
User avatar
SebR
Posts: 119
Joined: Thu Dec 07, 2017 8:09 pm

[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.
wicked BROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
User avatar
Kiwi
Posts: 161
Joined: Thu Dec 07, 2017 9:04 pm
Contact:

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.
Kiwi's :re-volt: Re-Volt Creations

Proud to be a Re-Volter since 1999 : )
User avatar
SebR
Posts: 119
Joined: Thu Dec 07, 2017 8:09 pm

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
wicked BROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
User avatar
URV
Site Admin
Posts: 51
Joined: Mon Dec 04, 2017 9:36 pm
Discord: URV#9830
Location: /home/marv

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: 119
Joined: Thu Dec 07, 2017 8:09 pm

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
wicked BROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
User avatar
Huki
Developer
Posts: 105
Joined: Wed Dec 06, 2017 5:54 am
Discord: Huki#1668

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: 119
Joined: Thu Dec 07, 2017 8:09 pm

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"
wicked BROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
User avatar
Huki
Developer
Posts: 105
Joined: Wed Dec 06, 2017 5:54 am
Discord: Huki#1668

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: 119
Joined: Thu Dec 07, 2017 8:09 pm

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:
wicked BROPBOX !!! If you found broken link PM me

AlicebanD an English voice that you must discover !!
Post Reply