paulirwin commented on issue #1024: URL: https://github.com/apache/lucenenet/issues/1024#issuecomment-2518793577
@NightOwl888 Can you point me to where "It is caught in several places to do a fallback"? I reviewed all usages of `UTF8toUTF16(byte[], int, int, CharsRef)`, as well as `UTF8toUTF16(BytesRef, CharsRef)` that calls it, and `BytesRef.Utf8ToString()` that calls it as well, and the only case I see is in `BlockTreeTermsWriter.PendingBlock.PendingBlocksFormatter` which catches `IndexOutOfRangeException` if thrown by `PendingBlock.ToString()`. I have fixed that case, but since you mentioned "several" I want to make sure I'm not missing some. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org