Skip to content

Commit baaba15

Browse files
authored
Merge pull request #8 from ZZHow1024/develop
MagicEncoding4.0.0
2 parents 5fff4f5 + f758465 commit baaba15

19 files changed

+1029
-65
lines changed

README.md

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ https://github.com/ZZHow1024/MagicEncoding/releases
1818

1919
---
2020

21+
## What is it?
22+
23+
MagicEncoding is a cross-platform encoding processing tool that supports character set conversion of character files, encoding and decoding of character text (Unicode and URL) and Unix timestamps (conversion between timestamps and time and shortcut operations on time).
24+
25+
---
26+
2127
## License
2228

2329
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.
@@ -26,6 +32,8 @@ This project is licensed under the GNU General Public License v3.0 - see the [LI
2632

2733
## **Instructions for use**
2834

35+
Download address: https://github.com/ZZHow1024/MagicEncoding/releases
36+
2937
- Determine the operating system you are using.
3038
- Linux:
3139
- Select .deb installation package/ .rpm installation package.
@@ -39,13 +47,56 @@ This project is licensed under the GNU General Public License v3.0 - see the [LI
3947
- Start MagicEncoding.
4048
- You can select the language in the lower right corner of MagicEncoding's main interface.
4149
- Currently supports Chinese (Simplified / Traditional) and English.
42-
- Drag the folder or file to obtain the path, enter the suffix name to be filtered (separate multiple suffix names with "&"), and click Find File.
43-
- Select the original encoding and target encoding, and click "Start Conversion".
50+
- You can select the function category (Character file / Character text / Unix timestamp) above MagicEncoding.
51+
- Character file
52+
- Drag the folder or file to get the path, fill in the suffix name to be filtered (multiple suffix names are separated by "&"), and click "Find files".
53+
- Choose whether to overwrite the original file.
54+
- Select the original encoding and the target encoding, and click "Start conversion".
55+
- Character text
56+
- Continue to select Unicode / URL.
57+
- Unicode
58+
- Fill in the text content to be encoded in the text box above, click "****", and the encoded text will be displayed in the text box below.
59+
- Fill in the text content to be decoded in the text box below, click "****", and the decoded text will be displayed in the text box above.
60+
- URL
61+
- Fill in the text content to be encoded in the text box above, select the character set of the original text, click "****", and the encoded text will be displayed in the text box below.
62+
- Fill in the text content to be decoded in the text box below, select the character set of the original text, click "****", and the decoded text will be displayed in the text box above.
63+
- Unix timestamp
64+
- Basic functions
65+
- When entering this module, the current timestamp will be automatically obtained, but it will not be updated in real time. Click "Refresh" to re-obtain the current timestamp.
66+
- Fill in the timestamp to be converted in the left text box, select the timestamp unit (seconds / milliseconds), click "-->", and the converted time will be displayed in the right text box.
67+
- Fill in the time to be converted in the right text box, select the timestamp unit (seconds / milliseconds), click "<--", and the converted timestamp will be displayed in the left text box.
68+
- Quick operations
69+
- Fill in the timestamp or time. If you fill in both, the operation will be based on the time (the content in the right text box).
70+
- Select the operation type (Move forward / Move backward).
71+
- Fill in the year, month, day, hour, minute and second (only Arabic numerals are supported), click "Operate", and the timestamp and time after the operation will overwrite the original content.
72+
- Click "Reset" to clear the filled content.
73+
74+
---
75+
76+
## Supported file character sets
77+
78+
- Supported file character sets for conversion: Big5, Big5-HKSCS, CESU-8, EUC-JP, EUC-KR, GB18030, GB2312, GBK, IBM-Thai, IBM00858, IBM01140, IBM01141, IBM01142, IBM01143, IBM01144, IBM01145, IBM01146, IBM01147, IBM01148, IBM01149, IBM037, IBM1026, IBM1047, IBM273, IBM277, IBM278, IBM280, IBM284, IBM285, IBM290, IBM297, IBM420, IBM424, IBM437, IBM500, IBM775, IBM850, IBM852, IBM855, IBM857, IBM860, IBM861, IBM862, IBM863, IBM864, IBM865, IBM866, IBM868, IBM869, IBM870, IBM871, IBM918, ISO-2022-CN, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-KR, ISO-8859-1, ISO-8859-13, ISO-8859-15, ISO-8859-16, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, JIS_X0201, JIS_X0212-1990, KOI8-R, KOI8-U, Shift_JIS, TIS-620, US-ASCII, UTF-16, UTF-16BE, UTF-16LE, UTF-32, UTF-32BE, UTF-32LE, UTF-8, windows-1250, windows-1251, windows-1252, windows-1253, windows-1254, windows-1255, windows-1256, windows-1257, windows-1258, windows-31j, x-Big5-HKSCS-2001, x-Big5-Solaris, x-euc-jp-linux, x-EUC-TW, x-eucJP-Open, x-IBM1006, x-IBM1025, x-IBM1046, x-IBM1097, x-IBM1098, x-IBM1112, x-IBM1122, x-IBM1123, x-IBM1124, x-IBM1129, x-IBM1166, x-IBM1364, x-IBM1381, x-IBM1383, x-IBM29626C, x-IBM300, x-IBM33722, x-IBM737, x-IBM833, x-IBM834, x-IBM856, x-IBM874, x-IBM875, x-IBM921, x-IBM922, x-IBM930, x-IBM933, x-IBM935, x-IBM937, x-IBM939, x-IBM942, x-IBM942C, x-IBM943, x-IBM943C, x-IBM948, x-IBM949, x-IBM949C, x-IBM950, x-IBM964, x-IBM970, x-ISCII91, x-ISO-2022-CN-CNS, x-ISO-2022-CN-GB, x-iso-8859-11, x-JIS0208, x-JISAutoDetect, x-Johab, x-MacArabic, x-MacCentralEurope, x-MacCroatian, x-MacCyrillic, x-MacDingbat, x-MacGreek, x-MacHebrew, x-MacIceland, x-MacRoman, x-MacRomania, x-MacSymbol, x-MacThai, x-MacTurkish, x-MacUkraine, x-MS932_0213, x-MS950-HKSCS, x-MS950-HKSCS-XP, x-mswin-936, x-PCK, x-SJIS_0213, x-UTF-16LE-BOM, X-UTF-32BE-BOM, X-UTF-32LE-BOM, x-windows-50220, x-windows-50221, x-windows-874, x-windows-949, x-windows-950, x-windows-iso2022jp.
79+
- Supports automatic identification of file character sets:[Encodings that can be detected](https://github.com/albfernandez/juniversalchardet?tab=readme-ov-file#encodings-that-can-be-detected).
80+
81+
---
82+
83+
## Dependencies
84+
85+
This project requires the following libraries:
86+
87+
- [**juniversalchardet**](https://github.com/albfernandez/juniversalchardet): Used for character encoding detection.
88+
- [**OpenJFX**](https://openjfx.io/): JavaFX library for building the graphical user interface.
4489

4590
---
4691

47-
## Function Introduction
92+
## Functional introduction of each version
4893

94+
- MagicEncoding4.0.0
95+
- Unicode encoding and decoding of character text.
96+
- URL encoding and decoding of character text.
97+
- Unix timestamp.
98+
- Supports conversion between timestamp and time
99+
- Supports time shortcut operations
49100
- MagicEncoding3.0.0
50101
- Automatic encoding recognition.
51102
- Single file conversion.
@@ -63,7 +114,11 @@ This project is licensed under the GNU General Public License v3.0 - see the [LI
63114

64115
---
65116

66-
## **Renderings**
117+
## Main interface of each version
118+
119+
![MagicEncoding4.0.0_EN](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4b165318-6383-451c-8845-110b786c9f0a%2Fbec5cc32-9058-45d2-baeb-3b24dfc55b96%2FMagicEncoding4.0.0_EN.png?table=block&id=100e64bd-e40f-8088-9b6a-ce06348c8739&t=100e64bd-e40f-8088-9b6a-ce06348c8739&width=1624&cache=v2)
120+
121+
MagicEncoding4.0.0_EN
67122

68123
![MagicEncoding3.0.0_EN](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4b165318-6383-451c-8845-110b786c9f0a%2Fa48f9fb0-5ca9-4b3e-aa65-5c0b9b8f53a4%2FMagicEncoding3.0.0_EN.png?table=block&id=e473a771-1ea7-42ab-9cc2-b124f8610072&t=e473a771-1ea7-42ab-9cc2-b124f8610072&width=1624&cache=v2)
69124

README_ZH.md

Lines changed: 61 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,22 @@ https://github.com/ZZHow1024/MagicEncoding/releases
1818

1919
---
2020

21-
## License
21+
## 它是什么?
2222

23-
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.
23+
MagicEncoding 是一款跨平台的编码处理工具,支持字符文件的字符集转换、字符文本的编解码(Unicode 与 URL)和 Unix 时间戳(时间戳与时间相互转换 和 时间的快捷操作)。
24+
25+
---
26+
27+
## 许可证
28+
29+
该项目根据 GNU 通用公共许可证 v3.0 获得许可 - 有关详细信息,请参阅 [LICENSE](LICENSE) 文件。
2430

2531
---
2632

2733
## 使用说明
2834

35+
下载地址:https://github.com/ZZHow1024/MagicEncoding/releases
36+
2937
- 确定您使用的操作系统。
3038
- Linux:
3139
- 选择 .deb安装包 / .rpm安装包。
@@ -39,13 +47,56 @@ This project is licensed under the GNU General Public License v3.0 - see the [LI
3947
- 启动 MagicEncoding。
4048
- 在 MagicEncoding 的主界面右下方可以选择语言。
4149
- 当前支持中文(简体 / 繁体)与英文。
42-
- 拖拽文件夹或文件获取路径,填入需要筛选的后缀名(多种后缀名用“&”分隔),单击“查找文件”。
43-
- 选择原始编码与目标编码,单击“开始转换”。
50+
- 在 MagicEncoding 的上方可以选择功能分类(字符文件 / 字符文本 / Unix 时间戳)。
51+
- 字符文件
52+
- 拖拽文件夹或文件获取路径,填入需要筛选的后缀名(多种后缀名用“&”分隔),单击“查找文件”。
53+
- 选择是否覆盖原文件。
54+
- 选择原始编码与目标编码,单击“开始转换”。
55+
- 字符文本
56+
- 继续选择 Unicode / URL。
57+
- Unicode
58+
- 将待编码的文本内容填入上方文本框中,单击“****”,编码后的文本将显示在下方文本框中。
59+
- 将待解码的文本内容填入下方文本框中,单击“****”,解码后的文本将显示在上方文本框中。
60+
- URL
61+
- 将待编码的文本内容填入上方文本框中,选择原文本的字符集,单击“****”,编码后的文本将显示在下方文本框中。
62+
- 将待解码的文本内容填入下方文本框中,选择原文本的字符集,单击“****”,解码后的文本将显示在上方文本框中。
63+
- Unix时间戳
64+
- 基础功能
65+
- 当进入此模块时会自动获取当前的时间戳,但这不会实时更新,单击“刷新”可以重新获取当前的时间戳。
66+
- 将待转换的时间戳填入左方文本框中,选择时间戳的单位(秒 / 毫秒),单击“-->”,转换后的时间将显示在右方文本框中。
67+
- 将待转换的时间填入右方文本框中,选择时间戳的单位(秒 / 毫秒),单击“<--”,转换后的时间戳将显示在左方文本框中。
68+
- 快捷操作
69+
- 填写时间戳或时间,若同时填写将在时间(右方文本框中的内容)的基础上进行操作。
70+
- 选择操作类型(向前 / 向后)。
71+
- 分别填入年、月、日、时、分和秒(仅支持阿拉伯数字),单击“操作”,操作后的时间戳和时间将会覆盖原始内容。
72+
- 单击“重置”可清空填写的内容。
73+
74+
---
75+
76+
## 支持的文件字符集
77+
78+
- 支持转换的文件字符集:Big5,Big5-HKSCS,CESU-8,EUC-JP,EUC-KR,GB18030,GB2312,GBK,IBM-Thai,IBM00858,IBM01140,IBM01141,IBM01142,IBM01143,IBM01144,IBM01145,IBM01146,IBM01147,IBM01148,IBM01149,IBM037,IBM1026,IBM1047,IBM273,IBM277,IBM278,IBM280,IBM284,IBM285,IBM290,IBM297,IBM420,IBM424,IBM437,IBM500,IBM775,IBM850,IBM852,IBM855,IBM857,IBM860,IBM861,IBM862,IBM863,IBM864,IBM865,IBM866,IBM868,IBM869,IBM870,IBM871,IBM918,ISO-2022-CN,ISO-2022-JP,ISO-2022-JP-2,ISO-2022-KR,ISO-8859-1,ISO-8859-13,ISO-8859-15,ISO-8859-16,ISO-8859-2,ISO-8859-3,ISO-8859-4,ISO-8859-5,ISO-8859-6,ISO-8859-7,ISO-8859-8,ISO-8859-9,JIS_X0201,JIS_X0212-1990,KOI8-R,KOI8-U,Shift_JIS,TIS-620,US-ASCII,UTF-16,UTF-16BE,UTF-16LE,UTF-32,UTF-32BE,UTF-32LE,UTF-8,windows-1250,windows-1251,windows-1252,windows-1253,windows-1254,windows-1255,windows-1256,windows-1257,windows-1258,windows-31j,x-Big5-HKSCS-2001,x-Big5-Solaris,x-euc-jp-linux,x-EUC-TW,x-eucJP-Open,x-IBM1006,x-IBM1025,x-IBM1046,x-IBM1097,x-IBM1098,x-IBM1112,x-IBM1122,x-IBM1123,x-IBM1124,x-IBM1129,x-IBM1166,x-IBM1364,x-IBM1381,x-IBM1383,x-IBM29626C,x-IBM300,x-IBM33722,x-IBM737,x-IBM833,x-IBM834,x-IBM856,x-IBM874,x-IBM875,x-IBM921,x-IBM922,x-IBM930,x-IBM933,x-IBM935,x-IBM937,x-IBM939,x-IBM942,x-IBM942C,x-IBM943,x-IBM943C,x-IBM948,x-IBM949,x-IBM949C,x-IBM950,x-IBM964,x-IBM970,x-ISCII91,x-ISO-2022-CN-CNS,x-ISO-2022-CN-GB,x-iso-8859-11,x-JIS0208,x-JISAutoDetect,x-Johab,x-MacArabic,x-MacCentralEurope,x-MacCroatian,x-MacCyrillic,x-MacDingbat,x-MacGreek,x-MacHebrew,x-MacIceland,x-MacRoman,x-MacRomania,x-MacSymbol,x-MacThai,x-MacTurkish,x-MacUkraine,x-MS932_0213,x-MS950-HKSCS,x-MS950-HKSCS-XP,x-mswin-936,x-PCK,x-SJIS_0213,x-UTF-16LE-BOM,X-UTF-32BE-BOM,X-UTF-32LE-BOM,x-windows-50220,x-windows-50221,x-windows-874,x-windows-949,x-windows-950,x-windows-iso2022jp。
79+
- 支持自动识别的文件字符集:[Encodings that can be detected](https://github.com/albfernandez/juniversalchardet?tab=readme-ov-file#encodings-that-can-be-detected)
80+
81+
---
82+
83+
## 依赖项
84+
85+
该项目需要以下库:
86+
87+
- [**juniversalchardet**](https://github.com/albfernandez/juniversalchardet):用于字符编码检测。
88+
- [**OpenJFX**](https://openjfx.io/):用于构建图形用户界面的 JavaFX 库。
4489

4590
---
4691

47-
## 功能介绍
92+
## 各版本功能介绍
4893

94+
- MagicEncoding4.0.0
95+
- 字符文本的 Unicode 编解码。
96+
- 字符文本的 URL 编解码。
97+
- Unix 时间戳。
98+
- 时间戳与时间相互转换
99+
- 时间快捷操作
49100
- MagicEncoding3.0.0
50101
- 自动识别编码。
51102
- 单文件转换。
@@ -63,7 +114,11 @@ This project is licensed under the GNU General Public License v3.0 - see the [LI
63114

64115
---
65116

66-
## **效果图**
117+
## 各版本主界面
118+
119+
![MagicEncoding4.0.0_ZH](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4b165318-6383-451c-8845-110b786c9f0a%2Fb10a48cd-ee7f-49bd-a5c9-1a337b93b79a%2FMagicEncoding4.0.0_ZH.png?table=block&id=100e64bd-e40f-806d-8cd1-dd4538d217ba&t=100e64bd-e40f-806d-8cd1-dd4538d217ba&width=1624&cache=v2)
120+
121+
MagicEncoding4.0.0_ZH
67122

68123
![MagicEncoding3.0.0_ZH](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F4b165318-6383-451c-8845-110b786c9f0a%2F59e24efe-e112-48a3-8ca6-fa721270fca0%2FMagicEncoding3.0.0_ZH.png?table=block&id=63c5eb8e-9288-4418-a76b-627ee422a9c5&t=63c5eb8e-9288-4418-a76b-627ee422a9c5&width=1624&cache=v2)
69124

0 commit comments

Comments
 (0)