WeiDUorg / weidu

WeiDU is a program used to develop, distribute and install modifications for games based on the Infinity Engine.
http://www.weidu.org
GNU General Public License v2.0
87 stars 19 forks source link

[Feature Request] Extend AUTO_TRA with the ability to replace single characters #236

Open ALIENQuake opened 7 months ago

ALIENQuake commented 7 months ago

With the context of https://github.com/WeiDUorg/weidu/issues/227, can you add the ability for AUTO_TRA to be able to replace certain Unicode characters from the list (global or local) before loading replacement for @tra from subdir. The requirement would be so that source .tra files are using UTF8 encoding.

Example:

û > u
„ > "
” > "
… > ...

This would reduce or even eliminate the requirement of additional tra files for larger mods only for replacing a few characters, to match a "classic" style.

burner1024 commented 7 months ago

I don't like this. It's really wading into wrong waters.

FredrikLindgren commented 7 months ago

I'm not saying yes or no yet. I figured I'd try to hack something together before replying, but it's dragging on, so I guess I'll get back to you, maybe?