DCS supports the following Japanese codes. In addition, UTF-based codes also support surrogate pairs and UTF8-MAC.
No.
Code Type
Encode
1
JIS_CP50221
CP50221
2
JIS_ISO2022JP_2004
ISO-2022-JP-2004
3
SJIS
CP932
4
EUC
EUC-JP
5
EUC_CP20932
CP20932
6
EUC_CP51932
CP51932
7
EUC_MS
eucJP-ms
8
UTF16BE
UTF-16BE
9
UTF16BE_BOM
UTF-16BE with BOM
10
UTF16LE
UTF-16LE
11
UTF16LE_BOM
UTF-16LE with BOM
12
UTF8
UTF-8
13
UTF8_BOM
UTF-8 with BOM
Code conversion overwrites the same file. Be sure to make a backup before converting.
The dcs_build_src that appears in the explanation hereafter is the executable file building environment included in the PC version of DCS. A binary executable is also included in this edition. There are also versions for Termux and UserLAnd on Android, so if you are interested, please search the net with "vector dcs". 01 Initial Screen
Below is the initial screen of DCS. The top of the internal storage and SD card is displayed. The basic operation is the same as a general file manager. The overflow menu has the following four items.
The list header has a "Select all" check box for items, a "Selected number" counter, pinning to prevent closing by swiping the right edge of the screen, moving the bottom/top when the list does not fit in the screen There is an arrow of . If the file name is long and the right edge is cut off, you can see it by swiping to the left, but you can pin => it to prevent the screen from closing by accidentally swiping the right edge. This pinning function is also available in the "Conversion confirmation screen" described later.
* As of 27 November 2022, even if you close the app by swiping without pinning, you can return to the previous state. Therefore, the pinning function is unnecessary, but it is left in consideration of future potential.
The directory icon, selection check box, file name on the top, date and time of update on the bottom, and number of valid files (26) directly under the directory are displayed in the details. The selection check boxes are for extracting files for transcoding.
If the item is a file, the difference from the directory is the icon at the top and the file size (834 bytes) and code type (UTF8) after the update date and time at the bottom.
There are 16 kinds of sentences in the icon of the file, but they are different from the actual contents. If you want to peek at the contents, single-tap anything other than the check box as described later in "Peeping and Single Conversion".
Including others, there are 5 types of icons in the details.
If the SD card is not installed, the directory icon will be disabled and the selection check box will be hidden as shown below, but this will not affect the operability of the internal storage.
If it takes a long time to open the directory because there are many files under it, the following dialog will be displayed. If you tap "STOP", the process will be interrupted and only the imported files will be displayed.
07 Move directory
They will appear to the right of the DCS icon as you navigate through the directory hierarchy. Tap any place to move there. If you go down one level or more, a return icon will appear on the far right.
A single tap on the file details will give you a sneak peek below. As the blue letter at the top says "Long press to convert to UTF8_BOM", you can convert one file by long pressing without selecting the check box (the initial value for conversion is UTF8_BOM).
It will close naturally after a while, but you can close it without waiting by swiping to the right or tapping "Close" in the vertical center or right end.
When you tap "Output type" (UTF8_BOM), the codes that can be selected are displayed as follows. SJIS is near the top, so swipe down if you don't see it on the list. Close this list by tapping SJIS displayed as shown.
If you press and hold the readme.txt earlier, it will be converted from UTF8 to SJIS as follows. The size has changed to 681 bytes. There were 834 bytes in UTF8, but one Japanese code character is 3 bytes in UTF8 and 2 bytes in SJIS, so you can see that it has been reduced to about 2/3, assuming that half-width alphanumeric characters do not change.
Code conversion overwrites the same file. Be sure to make a backup before converting.
Here, the files displayed by the "Select all" check box are selected. "Number of selections 40" indicates the number of directories and files selected on the screen. The directory conv has significant numbers of 38, not shown here, but they are all files. A total of 77 files to be converted are selected for 39(40-1) and 38 as shown in the "Conversion Confirmation Screen" later.
The type UTF8 of the file _dcs_inter.h on line 4 of the detail is displayed in bold blue. Swipe left as details are hidden on the right to see this.
There is UTF8-MAC to the right of the type UTF8 in _dcs_inter.h on the 4th line of the description, which indicates that UTF-8 code on Mac is included. DCS handles only Japanese in particular, but dakuten and handakuten characters such as ``ga'' and ``pa'' are represented by using two characters as the number of characters ("ga" => "ka" + <dakuten>, "Pa" => "ha" + <handakuten>).
ll_list.c and ll_list.h at the bottom are ASCII that does not include Japanese, so if "Overwrite same code" in "Settings" is not selected as the initial value, it will not be updated even if it is converted to SJIS. The output types for which ASCII is converted when "Overwrite same code" is not selected are 5 types of UTF-based codes "UTF16BE, UTF16BE_BOM, UTF16LE, UTF16LE_BOM, UTF8_BOM", excluding UTF8 without BOM.
The conversion check list details are ordered by file path, with the file name at the top. You can make selections before conversion using the "Select all" check box and select check box. Any changes made here will not be reflected on the selection screen.
27 Pinning and running the conversion confirmation screen
As with the initial screen and other selection screens, you can swipe the cut off right edge of the conversion confirmation screen to see it, but pin it to prevent the screen from being accidentally closed. Then click the "Convert" button to convert the listed files.
After updating, you will return to the previous selection screen. The updated contents are displayed in SJIS, but you can see that ll_list.c and ll_list.h are still in ASCII and have not been updated.
Now tap the DCS icon to return to the top. The directory icon for Internal Storage has a blue outline and a checked selection checkbox. This reflects the fact that "Select all" was checked on the "Select all" selection screen. A directory icon with a blue outline is a semi-selected substitute for the selected check box, indicating that any underlying files or directories are unselected.
From here, we will explain the contents of the "Settings" that determine the conditions for judgment and conversion. First, select the extraction condition with the check box "Include" and button "Text" on the right of "ExtrCond", and the check box below it "Exclude" and button "Binary".
The default radio button "Incl" is selected, tap the button to the right of it "TEXT" to change their text type. If you press and hold the radio button "Incl" or the button "TEXT" here, the file types that have been set are displayed below. If you press and hold the radio button "Excl" at the bottom or the enabled button "BINARY", the file types not covered will be displayed.
When you tap the "TEXT" button to the right of "Settings", "Extraction conditions", and "Contain", the text type edit screen for selection opens as shown below.
Text type can be without '.' such as '.txt'. Blanks and newlines are replaced with single blanks when updating. Sorting is also done, so it will be the same position no matter where you add it.
Similarly, edit excluded file types with the button "BINARY", which is enabled by selecting "Excl" in the same "ExtrCond".
After editing is completed, click "OK" to update and return to the previous screen.
"No type" on the right side of the screen "Settings" "ExtrCond" converts files without file types (.txt, .html, etc.) regardless of the selection of "Incl" or "Excl".
"Input type" is automatically determined, so the default value "Unknown" is usually fine, but it may not be possible to determine when the number of characters is small. are displayed multiple times. In that case, set the input type in the same way as the "Output type". However, UTF code with BOM can be automatically determined, so it is not included in the "Input type" options. If the code type shows "Unknown" then the file is not text or is corrupted and will not be converted no matter what you set the input type to.
Tap "RESET" in "Settings" to display the following dialog. If you select "OK" here, the settings will be directly updated to the initial values. If you tap "RESET" by mistake, click "CANCEL" to close this dialog.
If you check "LF Judge", any of the corresponding line feed code LF, CR, CR/LF will be displayed on the right side of the detailed input type of the file (here LF).
37 Line feed edit
By checking "LF Edit" and selecting one of the line feed code LF, CR, CR/LF, the line feed code at the time of update will be unified to the selected one.
The initial state of "overwrite" is not selected to avoid inadvertent conversion. The "Same CD" does not update with the same content. The "Similar CD" to the right of it does not lose characters during conversion. If you want to update for some reason (such as only editing line breaks), please check it.
There are two types of similar codes, JIS and EUC, which are displayed as shown in the figure below by pressing and holding the check box "Similar code".
The following dialog is displayed when DCS is first started. DCS only deals with text files, but the system does not distinguish between text and other formats such as images and videos. Be sure to select "ALLOW" here.
However, if you select "DON'T ALLOW" twice, this dialog will not appear again. Either uninstall DCS and install it again, or go to "Settings" on the system and proceed as follows to allow access to the system. 42 Permissions from System "Settings"
Select "Apps & notifications" from "Settings" of the system and tap the DCS icon displayed as follows.