Home Development Tools notepad Notepad opens with garbled characters

Notepad opens with garbled characters

Aug 08, 2019 pm 01:38 PM
notepad

Notepad opens with garbled characters

The speed of Notepad2 is indeed not comparable to the one that comes with the system. When opening an 8M TXT, the system's Notepad will be stuck for half a minute. Notepad2 opens directly, but it is the only one I have used so far. One point is that some files can be opened with Notepad without any problem, but with Notepad2 they are garbled. Generally this is not the case, but it does happen from time to time. Even after changing the encoding, it still cannot be displayed normally. Here is the solution.

Recommended tutorial: Notepad usage tutorial

## 

File-Encoding-Default, check "Skip" Automatic Unicode Detection" also does not interpret encoding identifiers.

The ones on the Internet are all old versions and there is no "no interpretation of encoding mark".

Opening the file edited by Notepad displays garbled characters, as follows

഍ꆰ십뎬좺ꎬ쓣뫃ꎬ컒쏇폖볻쏦쇋ꆣꆱ룕뷸킣쏅ꎬ십뎬좺펭쏦뾴떽쇋튻룶 죋ꎬ쎻쿫떽쯽뻓좻믡살헢샯ꆣඡ냄 쎣곀듕틁벷뾡뇂곈뫋뮺���늻뛕얾닀���겿짒닃믗풴뷈쿎꫗풼뫓탕죁ꚡꌍꆰ헒쓣늻 뿉틔싰ꎿꆱ

Solution

Press F8

# But what is the function of pressing the F8 key? And there is no function using F8 as a shortcut key in the menu. I checked again and found out why:

Notepad2 has a function to automatically detect the text encoding format. If the text is pure Chinese and does not contain any single-byte English characters or numbers, an error will occur during automatic detection. .

However, it is too troublesome to press F8 every time. Fortunately, the author has considered this: you can turn off automatic detection and force notepad2 to open it in ansi encoding format every time it opens text. The method is: select the menu " "File" - "Encoding" - "Default", the "Select Encoding" dialog box will pop up, select "Do not automatically detect Unicode detection" (" Skip automatic Unicode detection.") check box, or (Don't use automatic Unicode detection.) click "OK", that's it. In the future, you don't need to press F8 to open pure Chinese text and garbled characters will not be displayed. .

For the system, replace the directory of notepad.exe system: C:\Windows\System32 and C:\Windows

And nosepad2 will automatically save the current setting every time it exits after opening the program. Some settings

can be used in the vista system. To save, you must start running as an administrator

Otherwise, it will not be saved. Because this permission is required for the c drive...so the above That's right, if you want to save it, you must first make sure it is running as an administrator.

Another point is automatic line wrapping. I think it is best to check it first... for convenience. Under Vista Of course, the C drive must be run as an administrator first to have an effect...and then exit

Due to problems with Chinese localization or low version of the software, some cannot be automatically recognized and can only be set, and these large and small sizes appear. The problem, after all, is that foreign software is not targeted at Chinese.

The above is the detailed content of Notepad opens with garbled characters. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to open large files in notepad++ How to open large files in notepad++ Apr 08, 2024 am 09:45 AM

How to open large files using Notepad++? Start Notepad++, click File > Open, and select the large file in the file browser. Common problems you may encounter: slow loading of files, "file too big" errors, insufficient memory, corrupted files. Ways to optimize performance: disable plug-ins, adjust settings, use multi-threading.

How to adjust font size in notepad How to adjust font size in notepad Apr 08, 2024 am 10:21 AM

Font size can be adjusted in Notepad by following these steps: 1. Open Notepad; 2. Go to the "Format" menu; 3. Select the "Font" option; 4. In the "Font" window, use the "Size" field to adjust the font size; 5. Click the OK button to apply the changes.

Which components should be selected for notepad++ installation? Which components should be selected for notepad++ installation? Apr 08, 2024 am 10:48 AM

When installing Notepad++ components, it is recommended to select the following required components: NppExec, Compare, Multi-Edit, Spell Checker, XML Tools. Optional components are available to enhance specific functionality, including Auto Completion, Column Editor, DSpellCheck, Hex Editor, and Plugin Manager. Before installing components, identify frequently used functions and consider compatibility and stability. Install only the components you need to avoid unnecessary clutter.

What is the use of notepad++? What is the use of notepad++? Apr 08, 2024 am 11:03 AM

Notepad++ is a free, open source text editor widely used for programming, web development and text manipulation. Its main uses include: Text editing and viewing: Create, edit and view plain text files, supporting tabs and syntax highlighting. Programming: Supports syntax highlighting, code folding and auto-completion for multiple programming languages, and integrates debuggers and version control plug-ins. Web development: Provides syntax highlighting, code verification and auto-completion for HTML, CSS and JavaScript to facilitate web page creation and editing. Other uses: For text processing, scripting, and document editing.

How to filter data by conditions in notepad text editor How to filter data by conditions in notepad text editor Apr 08, 2024 am 10:33 AM

Through regular expressions, Notepad++ can filter data by conditions: 1. Open the file and use the "Find" window; 2. Select "Regular Expression" mode; 3. Enter a regular expression to define conditions, such as finding lines containing "foo" :foo.

How to change notepad++ to Chinese How to change notepad++ to Chinese Apr 08, 2024 am 10:42 AM

Notepad++ does not provide a Chinese interface by default. The switching steps are as follows: download the Chinese language pack and complete the installation when prompted; restart Notepad++ and enter the "Preferences" window; select "Chinese Simplified" in the "Language" tab and click "OK".

How to run C language in notepad++ How to run C language in notepad++ Apr 08, 2024 am 10:06 AM

Notepad++ itself cannot run C language programs and requires an external compiler to compile and execute the code. In order to use an external compiler, you can follow the following steps to set it up: 1. Download and install the C language compiler; 2. Create a custom tool in Notepad++ and configure the compiler executable file path and parameters; 3. Create the C language program and save it with a .c file extension; 4. Select the C language program file and select a custom tool from the "Run" menu to compile; 5. View the compilation results and output a compilation error or success message. If the compilation is successful, an executable file will be generated.

How does notepad++ run perl code How does notepad++ run perl code Apr 08, 2024 am 10:18 AM

To run Perl code in Notepad++ follow these steps: Install a Perl interpreter. Configure Notepad++, select Perl in the Language setting and enter the path to the Perl executable file. Write Perl code. Select the Perl interpreter in the NppExec plugin and run the code. View the output in the "Console" menu bar.

See all articles