mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 21:41:05 -06:00
[GH-ISSUE #17087] issue: The Chinese punctuation in the uploaded text file will be automatically converted to English punctuation marks. #121475
Reference in New Issue
Block a user
Originally created by @Pixellevel on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17087
Check Existing Issues
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
README.md.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
Additional Information
No response