Hi,
as valid strings for conversions in strToInt are like '12345', '-123', 'x0ffee', 'x12cc', '$FF' so automatic conversion unicodestring to ansistring does not causing problems itself.
BTW accepted format of hexadecimal string started from '$' is not documented (yet, already?).
WooBean