Patric Stout
68f9925cd4
Codechange: use \u to indicate unicode chars in strings ( #8379 )
...
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-12-14 20:25:01 +01:00
Michael Lutz
808c8198d5
Codechange: Consistently use WChar when passing characters around, and also define it as char32_t.
2020-05-21 20:02:34 +02:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
Michael Lutz
e804173595
Codechange: If something is a vector of strings, use a vector of strings instead of an AutoFreeSmallVector.
2019-04-09 22:45:15 +02:00
smatz
f4de9b8a37
(svn r23940) -Codechange: remove superfluous semicolons
2012-02-12 19:46:40 +00:00
truebrain
5cda1d7c90
(svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium)
2011-12-19 20:50:44 +00:00
rubidium
fefe22b4aa
(svn r23590) -Codechange: make the string validation settings better expandable
2011-12-18 18:37:54 +00:00
rubidium
5a620d1c65
(svn r22406) -Document: some more "random-ish" tidbits
2011-05-01 19:51:52 +00:00
rubidium
87edf2524d
(svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa
2010-10-21 20:12:48 +00:00
rubidium
9d29c54b03
(svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes.
2010-05-20 15:36:44 +00:00
rubidium
8aad995e32
(svn r19703) -Add: hexadecimal string filter
2010-04-24 07:31:58 +00:00
rubidium
a5d005dd53
(svn r17920) -Codechange: add a 'filter' for numbers+spaces and use it for the NewGRF parameter list
2009-10-31 14:06:16 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
2008-01-07 14:23:25 +00:00