[GH-ISSUE #7290] Emoji (and Unicode?) Does Not Generate Properly in 0.4.0 rc3 #51145

Closed
opened 2026-04-28 18:34:13 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @ProjectMoon on GitHub (Oct 21, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7290

Originally assigned to: @jessegross on GitHub.

What is the issue?

When the LLM generates emojis, it comes out as something like ����. Emacs describes these characters thus:

             position: 3 of 982 (0%), column: 2                                       
            character: � (displayed as �) (codepoint 65533, #o177775, #xfffd)         
              charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF))
code point in charset: 0xFFFD                                                         
               syntax: w        which means: word                                     
             category: .:Base                                                         

Not sure if this is specific to emoji. Might point to something more problematic with other non-ascii unicode characters.

Downgrading to 0.3.14 makes this problem disappear.

OS

Linux

GPU

AMD

CPU

AMD

Ollama version

0.4.0-rc3

Originally created by @ProjectMoon on GitHub (Oct 21, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7290 Originally assigned to: @jessegross on GitHub. ### What is the issue? When the LLM generates emojis, it comes out as something like ����. Emacs describes these characters thus: ``` position: 3 of 982 (0%), column: 2 character: � (displayed as �) (codepoint 65533, #o177775, #xfffd) charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF)) code point in charset: 0xFFFD syntax: w which means: word category: .:Base ``` Not sure if this is specific to emoji. Might point to something more problematic with other non-ascii unicode characters. Downgrading to 0.3.14 makes this problem disappear. ### OS Linux ### GPU AMD ### CPU AMD ### Ollama version 0.4.0-rc3
GiteaMirror added the bug label 2026-04-28 18:34:13 -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#51145