wanted: SB-EXT:FILE-CHARACTER-POSITION or similar
Bug #310079 reported by
Tobias C. Rittweiler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
FILE-POSITION on character streams returns the byte offset, not the character offset
(the two can be different with unicode characters.)
Test case can be found at
http://
This is conformant, and also technically justifiable.
It would, however, be nice if SBCL exported a function FILE-CHARACTER-
which does the right thing w.r.t. unicode. See
http://
description: | updated |
Changed in sbcl: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.