Skip to content

[BUG] Functionlist cant work with special characters in ANSI files since v8.9.1 #17847

@ToniKoehler

Description

@ToniKoehler

Is there an existing issue for this?

  • I have searched the existing issues

Is the issue reproducible in Notepad++ without plugin?

  • I have tried Notepad++ without plugin

Is the issue reproducible in portable version of Notepad++?

  • I have tried portable version of Notepad++

Does the issue affect SciTE?

  • I have tried SciTE

Description of the Issue

If you use a ANSI coded textfile with special characters, the functionlist cant handle that characters. If you convert the textfile from ANSI to UTF8 it works.

Image

Steps To Reproduce

  1. Open textfile with entcoding ANSI
  2. insert letters like äöüß
DEFINE CLASS kaTest as Custom
	Function MyKeyFunction
	Endfuc
	
	Function MeineSchlüsselfunktion
	Endfuc
	
	Function MeineSchlüßelfunktion
	Endfuc
enddefine
  1. refresh functionlist

Current Behavior

cant handle special characters

Expected Behavior

functionlist must use the encoding from displayed file.

Debug Information

Notepad++ v8.9.1   (64-bit)
Build time: Jan 18 2026 - 22:45:31
Scintilla/Lexilla included: 5.5.8/5.4.6
Boost Regex included: 1_90
pugixml included: 1.15
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: 
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DEFAULT (0)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: ON
Display Info:
    primary monitor: 5120x2160, scaling 125%
    visible monitors count: 4
    installed Display Class adapters: 
        0000: Description - VMware SVGA 3D
        0000: DriverVersion - 9.17.9.4
        0001: Description - Microsoft Remote Display Adapter
        0001: DriverVersion - 10.0.26100.7705
        0002: Description - Microsoft Remote Display Adapter
        0002: DriverVersion - 10.0.26100.7705
        0003: Description - Microsoft Remote Display Adapter
        0003: DriverVersion - 10.0.26100.6725
    - warning, search has been limited to maximum number of adapter records: 4
OS Name: Windows 11 Pro (64-bit)
OS Version: 24H2
OS Build: 26100.7840
Current ANSI codepage: 1252
Plugins: 
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions