[PR #4715] [MERGED] proper utf16 support #11568

Closed
opened 2026-04-12 23:32:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4715
Author: @mxyng
Created: 5/30/2024
Status: Merged
Merged: 6/10/2024
Merged by: @mxyng

Base: mainHead: mxyng/utf16-parser


📝 Commits (1)

📊 Changes

1 file changed (+58 additions, -32 deletions)

View changed files

📝 parser/parser.go (+58 -32)

📄 Description

instead of relying on unreadable runes which can be appear for other reasons, check the header and adjust the scanner and decoder


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/4715 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 5/30/2024 **Status:** ✅ Merged **Merged:** 6/10/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/utf16-parser` --- ### 📝 Commits (1) - [`66ab487`](https://github.com/ollama/ollama/commit/66ab48772f4f41f3f27fb93e15ef0cf756bda3d0) proper utf16 support ### 📊 Changes **1 file changed** (+58 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `parser/parser.go` (+58 -32) </details> ### 📄 Description instead of relying on unreadable runes which can be appear for other reasons, check the header and adjust the scanner and decoder --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:32:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#11568