[GH-ISSUE #17087] issue: The Chinese punctuation in the uploaded text file will be automatically converted to English punctuation marks. #105159

Open
opened 2026-05-18 03:02:27 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Pixellevel on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17087

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

v0.6.26

Ollama Version (if applicable)

No response

Operating System

Windows 11

Browser (if applicable)

Edge 139.0.3405.125

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

After turning off RAG, when you upload a Lua script containing Chinese comments during a conversation with the model and then click to preview the successfully uploaded file, the Chinese punctuation in the text should remain unchanged.

Actual Behavior

After turning off RAG, when uploading a Lua script with Chinese comments during a conversation with the model, and then clicking on the successfully uploaded file to preview it, you will find that all the Chinese punctuation marks have been changed to English punctuation marks, including those like , and “:” “,”

Steps to Reproduce

Turn off RAG, select a text document containing Chinese punctuation on the model dialogue page, upload it, and check.
You can save the following paragraph as a text document for upload testing:

-- 初始化标志
local auto_vsr_enabled = false
local combined_vsr_memc_enabled = false
local anime4k_enabled = false
local last_height_state = nil -- 用于跟踪上一次的高度状态
local is_audio_format = false -- 用于标记是否为音频格式
local memc_hq_enabled = false -- 新增:用于跟踪HQ-MEMC状态
local is_high_fps = false -- 新增:用于标记是否为高帧率视频
local memc_wq_enabled = false -- 新增:用于跟踪WQ-MEMC状态
local is_dvd_format = false -- 用于标记是否为DVD格式(ISO/VOB)
local memc_1080_enabled = false -- 新增:用于跟踪1080-MEMC状态
local current_vsr_scale = nil -- 新增:用于跟踪当前VSR缩放倍数
local manual_vsr_scale = false -- 新增:标记是否手动调整了VSR倍数
local reached_real_height = false -- 新增:记录是否已达到视频的真实高度
local is_standard_ratio = false -- 用于标记是否为标准宽高比
local correct_filter_order = false -- 用于跟踪滤镜顺序是否正确
local target_height = 720 -- 新增:用于跟踪目标缩放高度
local available_heights = {540, 720, 900, 1080} -- 新增:可用的高度列表
local manual_scale_enabled = false -- 新增:用于跟踪手动缩放滤镜状态

Logs & Screenshots

Image Image

Additional Information

No response

Originally created by @Pixellevel on GitHub (Sep 1, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17087 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version v0.6.26 ### Ollama Version (if applicable) _No response_ ### Operating System Windows 11 ### Browser (if applicable) Edge 139.0.3405.125 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior After turning off RAG, when you upload a Lua script containing Chinese comments during a conversation with the model and then click to preview the successfully uploaded file, the Chinese punctuation in the text should remain unchanged. ### Actual Behavior After turning off RAG, when uploading a Lua script with Chinese comments during a conversation with the model, and then clicking on the successfully uploaded file to preview it, you will find that all the Chinese punctuation marks have been changed to English punctuation marks, including those like , and “:” “,” ### Steps to Reproduce Turn off RAG, select a text document containing Chinese punctuation on the model dialogue page, upload it, and check. You can save the following paragraph as a text document for upload testing: -- 初始化标志 local auto_vsr_enabled = false local combined_vsr_memc_enabled = false local anime4k_enabled = false local last_height_state = nil -- 用于跟踪上一次的高度状态 local is_audio_format = false -- 用于标记是否为音频格式 local memc_hq_enabled = false -- 新增:用于跟踪HQ-MEMC状态 local is_high_fps = false -- 新增:用于标记是否为高帧率视频 local memc_wq_enabled = false -- 新增:用于跟踪WQ-MEMC状态 local is_dvd_format = false -- 用于标记是否为DVD格式(ISO/VOB) local memc_1080_enabled = false -- 新增:用于跟踪1080-MEMC状态 local current_vsr_scale = nil -- 新增:用于跟踪当前VSR缩放倍数 local manual_vsr_scale = false -- 新增:标记是否手动调整了VSR倍数 local reached_real_height = false -- 新增:记录是否已达到视频的真实高度 local is_standard_ratio = false -- 用于标记是否为标准宽高比 local correct_filter_order = false -- 用于跟踪滤镜顺序是否正确 local target_height = 720 -- 新增:用于跟踪目标缩放高度 local available_heights = {540, 720, 900, 1080} -- 新增:可用的高度列表 local manual_scale_enabled = false -- 新增:用于跟踪手动缩放滤镜状态 ### Logs & Screenshots <img width="830" height="422" alt="Image" src="https://github.com/user-attachments/assets/4f206d21-e39a-45b3-ac0b-68743e9c7cfa" /> <img width="519" height="305" alt="Image" src="https://github.com/user-attachments/assets/513086c8-cc49-4a7d-b015-1ea89f2b010a" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-18 03:02:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#105159