[PR #5025] [MERGED] Revert "proper utf16 support" #22184

Closed
opened 2026-04-19 16:09:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5025
Author: @mxyng
Created: 6/13/2024
Status: Merged
Merged: 6/13/2024
Merged by: @mxyng

Base: mainHead: mxyng/revert-parser-scan


📝 Commits (1)

  • 20b9f8e Revert "proper utf16 support"

📊 Changes

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

View changed files

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

📄 Description

This reverts commit 66ab48772f.

this change broke utf-8 scanning of multi-byte runes

resolves #5055 by reverting the offending change #4715


🔄 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/5025 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 6/13/2024 **Status:** ✅ Merged **Merged:** 6/13/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/revert-parser-scan` --- ### 📝 Commits (1) - [`20b9f8e`](https://github.com/ollama/ollama/commit/20b9f8e6f4f887cb8504995920a88d35eac6c3b5) Revert "proper utf16 support" ### 📊 Changes **1 file changed** (+32 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `parser/parser.go` (+32 -58) </details> ### 📄 Description This reverts commit 66ab48772f4f41f3f27fb93e15ef0cf756bda3d0. this change broke utf-8 scanning of multi-byte runes resolves #5055 by reverting the offending change #4715 --- <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-19 16:09:05 -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#22184