summaryrefslogtreecommitdiff
path: root/src/string_type.h
AgeCommit message (Collapse)Author
2020-12-14Codechange: use \u to indicate unicode chars in strings (#8379)Patric Stout
With \x, we sometimes had to do the "" trick, as the length is not predefined. With C++11 bringing \u to the specs, which has a preset length, we no longer need the "" trick. We set the strings to u8, to ensure all compilers use UTF-8 encoding for the \u characters. This was triggered by newer CLangs, which start to warn if you use "" in the middle of a string, wondering if that was your intention. It is a good question. And this is our answer :)
2020-05-21Codechange: Consistently use WChar when passing characters around, and also ↵Michael Lutz
define it as char32_t.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-09Codechange: If something is a vector of strings, use a vector of strings ↵Michael Lutz
instead of an AutoFreeSmallVector.
2012-02-12(svn r23940) -Codechange: remove superfluous semicolonssmatz
2011-12-19(svn r23603) -Add: support for control commands in strings, in both network ↵truebrain
and safe/load (Rubidium)
2011-12-18(svn r23590) -Codechange: make the string validation settings better expandablerubidium
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2010-10-21(svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up ↵rubidium
due to LTR names in RTL translations and vice-versa
2010-05-20(svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes.rubidium
2010-04-24(svn r19703) -Add: hexadecimal string filterrubidium
2009-10-31(svn r17920) -Codechange: add a 'filter' for numbers+spaces and use it for ↵rubidium
the NewGRF parameter list
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.