[fpc-devel] String constant without code page
Petr Kristan
petr.kristan at epos.cz
Thu Dec 14 09:30:36 CET 2017
Hi.
I compile whole project with -FcUTF8, but sometimes should be useful
to define string constant with CP_NONE to prevent conversions.
Example:
DefaultSystemCodePage:=1250
variable s contains text with cp=1250
s := s + '#'; //conversion because '#' has cp=65001
Is possible to define '#' without cp?
Or is possible to do fast string concatenation without conversion?
Thanks
Petr
--
Petr Kristan
.
EPOS PRO s.r.o., Smilova 333, 530 02 Pardubice
tel: +420 461101401 Czech Republic (Eastern Europe)
fax: +420 461101481
More information about the fpc-devel
mailing list