You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* UnicodeUtil updates: TryUTF8toUTF16, ReadOnlySpan methods, #1024
* Add back array overloads; add unit test for TryUTF8toUTF16
* Fix comment formatting
* Remove offset/length parameters from Span-based methods, #1024
* Move ToCharArray methods to ObsoleteAPI for removal in 4.8.0 RC, #1024
* Add fallback version of UTF8toUTF16
* Throw ParseException on out of range in UTF8toUTF16, add more tests
* Use Utf8ToStringWithFallback in ToString and exception/logging message building
* Use FormatException instead of ParseException
* Add FormatException case to Utf8ToString() catch
* Fix exception type in XML docs in UnicodeUtil.NewString
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix TestUnicodeUtil: Use IOUtils.ENCODING_UTF_8_NO_BOM instead of non-existent CHARSET_UTF_8
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
thrownewArgumentException("this class can only handle 2 level hierarchy (dim/value); got: "+Arrays.ToString(components)+" "+spare.Utf8ToString());
82
+
// LUCENENET specific - use Utf8ToStringWithFallback() to handle invalid UTF-8 bytes
83
+
thrownewArgumentException("this class can only handle 2 level hierarchy (dim/value); got: "+Arrays.ToString(components)+" "+spare.Utf8ToStringWithFallback());
"Score based on join value "+_termsEnum.Term.Utf8ToString());
317
+
"Score based on join value "+_termsEnum.Term.Utf8ToStringWithFallback());// LUCENENET specific - use Utf8ToStringWithFallback() to handle invalid UTF-8 bytes
0 commit comments