#74: utf-8 bug in compile-file -------------------------+-------------------------------------------------- Reporter: avodonosov | Owner: Type: defect | Status: closed Priority: major | Milestone: Component: Unicode | Version: 20d Resolution: fixed | Keywords: -------------------------+-------------------------------------------------- Changes (by toy.raymond@…):
* status: new => closed * resolution: => fixed
Comment:
commit e8f64b3f83455a82edad394c472481fadde6ccb5 Author: Raymond Toy toy.raymond@gmail.com Date: Tue Feb 26 20:44:18 2013 -0800
Fix ticket:74
When accounting for the octets left in the in-buffer that we haven't read (or converted to characters), we were subtracting the index from the total in-buffer length. This is wrong if the file is less than the total in-buffer length. We should have subtracted from the actual number of octets in the in-buffer.