This tiny patch adds global var (option) which allows to raise exeption, when utf8 cannot convert to single byte page. needed for CudaText to detect that user text cannot convert to current codepage. its default is off (don't use exception).
Regards,
Alexey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cnv.diff
Type: text/x-patch
Size: 763 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180925/71559fdf/attachment.bin>
