亂碼修復工具
開發者工具latin1/GBK/UTF-8編碼修復,十六進位解碼
答案速覽
Mojibake Fixer: latin1/GBK/UTF-8 fix, hex decode. Mojibake Fixer uses standard developer formulas to compute accurate results instantly.
輸入文字
ä½ å¥½ï¼Œä¸–ç•Œ
無法還原(可能不是latin1誤判)
修復原理
- 11. 逐字元取低 8 位還原為位元組序列
- 22. 把位元組按 UTF-8 解碼
- 33. 不是合法 UTF-8——亂碼成因是其他誤判(如 GBK 被 UTF-8 讀取)
常見亂碼對照
| 原文 | UTF-8 被 latin1 讀 | UTF-8 被 GBK 讀 |
|---|---|---|
| 你好 | ä½ å¥½ | 浣犲ソ |
| 中文 | 䏿–‡ | 涓枃 |
| 测试 | 测试 | 娴嬭瘯 |
亂碼根因:寫入與讀取用了不同編碼。UTF-8 被 latin1 誤讀(ä½ å¥½)可逆,上方修復模式即逆向此過程;UTF-8 被 GBK 誤讀(浣犲ソ)破壞了位元組邊界,通常無法無損還原。鐵律:全鏈路統一聲明 UTF-8(meta charset、HTTP 頭、資料庫 collation)。
這個工具對你有幫助嗎?
怎麼用
- Paste or type content: drop code/text into the Mojibake Fixer or fill the parameters.
- Choose mode/options: switch format, rules or processing as needed.
- Live output: results appear instantly — nothing is submitted, data stays in your browser.
- One-click copy: copy the output straight into your development environment.
核心要點
- Mojibake Fixer is a free online developer tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: latin1/GBK/UTF-8 fix, hex decode.
- Results come with formulas and reference tables so you can verify every number.
原理與公式
Mojibake Fixer formula
Mojibake Fixer uses standard developer formulas to compute accurate results instantly.
常見問題
How do I use the Mojibake Fixer?
Open the page and fill in the input fields — results update automatically. latin1/GBK/UTF-8 fix, hex decode.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.
相關工具
相關指南
來源與更新
Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07
最近更新:
本頁公式與內容經YiJianSuan團隊覆核,僅供學習參考,實際業務請以官方口徑為準。
內容由YiJianSuan編輯團隊維護並定期覆核,更新與審核流程詳見編輯規範.
引用本頁: YiJianSuan. 亂碼修復工具[EB/OL]. https://www.yijiansuan.com/zh-TW/c/dev/charset-convert
本工具提供的結果僅供參考,不構成任何專業建議,請以官方核算為準。