[M3devel] AND (., 16_ff). Not serious - or so I hope!

Dragiša Durić dragisha at m3w.org
Tue Jun 26 17:14:06 CEST 2012


On Jun 26, 2012, at 4:28 PM, Jay K wrote:

> > 128 limit
> 
> I haven't read the code enough yet to verify that but you are probably right

I was not right :), that call is incremental.

> 
>  > ignoring everything over 16_FF
> 
> Probably that is the responsibility/claim of the caller of GetChars.
> If you want to be correct in the face of non-ASCII, you are probably obligated to call GetWideChars.
> Perhaps raising an exception would be reasonable to signal the loss of data. Or something.
> There is HasWideChars for you to check.


> 
> There is no encoding implied remember.
> This isn't UTF8 data.


It is not, but probably only way to solve this without exception is to make UTF8 "official" 8bit encoding :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120626/42f5109b/attachment-0002.html>


More information about the M3devel mailing list