Dook1 / Bookmarks-Dook

22 stars 2 forks source link

Umlauts in a bookmark line #7

Closed ltdeta closed 1 year ago

ltdeta commented 3 years ago

Umlauts in a bookmark line are not displayed correctly in the "BookmarksDook" panel

image

image

Dook1 commented 3 years ago

Try to change the font: Plugins->BookmarksPanel@Dook->Options>Font

ltdeta commented 3 years ago

No matter which font is selected, the problem remains the same. It seems that no encoding format check is performed. UTF8 works, ANSI does not

Dook1 commented 3 years ago

Try it: https://github.com/Dook1/Bookmarks-Dook/releases/download/2.2.32b/BookmarksDook.32.2.2.zip https://github.com/Dook1/Bookmarks-Dook/releases/download/2.2.64b/BookmarksDook.64.2.2.zip

ltdeta commented 3 years ago

notepadd++ V7.9.1 64bit / BookmarksDook.dll Version 2.2.0.0

no, still only UTF-8 encoding works image

ansi encoding fails image

Dook1 commented 3 years ago

ss213123 It works for me.

  1. What is the code page of your operating system?
  2. In which folder you copied the plugin?
  3. Take a screenshot Plugins-> Plugins Admin
ltdeta commented 3 years ago

The files I use are plain text files WITHOUT "character set".

  1. create a new file in Notepad++
  2. change Encoding to "ANSI"
  3. write into the file "äöü"
  4. set the bookmark (Togle Bookmark) => You will see what I mean :)
Dook1 commented 3 years ago

ANSI - is the code page of your operating system. In different localizations it is different.

ltdeta commented 3 years ago

OK, is it not possible to determine the code page of the system, and then react accordingly?

Dook1 commented 3 years ago
  1. Send me a file with incorrectly displayed characters.
  2. What is the code page of your operating system?
  3. In which folder you copied the plugin?
  4. Take a screenshot Plugins-> Plugins Admin
ltdeta commented 3 years ago

Send me a file with incorrectly displayed characters.

Test-textfile-Bookmark.txt

What is the code page of your operating system?

using a powershell script OEMCP ACP


850 1252

In which folder you copied the plugin?

..\PortableTools\Notepad++Portable\plugins\BookmarksDook

Take a screenshot Plugins-> Plugins Admin

image

Dook1 commented 3 years ago

Try to force the code page in Notepad: Encoding->Western European->Windows-1252.

Dook1 commented 2 years ago

fixed in 3.0.0 https://github.com/Dook1/Bookmarks-Dook/releases/tag/3.0