PlayersCouncil / LotR-TCG_card_generator

nanDECK script for generating Lord of the Rings TCG cards from CSV.
6 stars 0 forks source link

Twilight symbol bug on non Cp-1252 machine #46

Open morvael opened 3 years ago

morvael commented 3 years ago

Had to replace

[game_text_replaced] = REPLACE([game_text_replaced],"(9)","<textsymbol>_</textsymbol>", I)
[game_text_replaced] = REPLACE([game_text_replaced],"\91\9\93\","<textsymbol>_</textsymbol>", I)

with

[game_text_replaced] = REPLACE([game_text_replaced],"(9)","<textsymbol>&#95;</textsymbol>", I)
[game_text_replaced] = REPLACE([game_text_replaced],"\91\9\93\","<textsymbol>&#95;</textsymbol>", I)
morvael commented 3 years ago

The problem was limited to 9 twilight symbol only.