View Single Post
Old 04-28-2021, 04:16 PM   #1
lnpgaceta
Minors (Double A)
 
lnpgaceta's Avatar
 
Join Date: Mar 2020
Location: San Juan, PR
Posts: 129
Special characters in league reports

(Whoops, not almanacs—league reports.)

First: very sorry if this has been covered already. I ran through most of the forum last night, but I may have missed a thread.

After OOTP 21 broke the ability to recognize special characters in logo files, this one appears to have some trouble with special characters (accents, tildes, etc.) in player names . . . but only in the reports. (See Screenshot #1.) The accents show up fine in the game.

Everywhere I could find that has a "replace accents" option has it checked—and anyway those are CSV files, not reports. I'm also currently generating an almanac, and they look fine there so far.

Then this morning I noticed that it's even doing that with the "1/2" display for teams that are half a game back, which, frankly, looks pretty silly. (See Screenshot #2.) It is also doing this in the sim. (See Screenshot #3.)

Is there a fix for this that doesn't involve me going and manually removing the accents from each player's names, which I would really rather not have to do, considering the league is set in Puerto Rico?

UPDATE: if this helps, I've been informed that, apparently, adding <meta charset="UTF-8" /> to each HTML file seems to fix the problem, though I have not yet verified it.
Attached Images
Image Image Image 
__________________


Blog: Gaceta de la LNP

Twitch: LNP En Vivo | watch old games
BlueSky: @LNPGaceta
Mastodon: @LNPGaceta on allpro.social
Merch: Tiendita de la LNP

Last edited by lnpgaceta; 04-28-2021 at 04:38 PM. Reason: Accuracy (almanac was incorrect usage) and adding more information
lnpgaceta is offline   Reply With Quote