[LyX/master] Fix encoding problem

Juergen Spitzmueller spitz at lyx.org
Sun Feb 15 13:30:09 UTC 2026


commit 64d1e371d48ef8fdd83e1c9893784af426d3ffe3
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun Feb 15 14:29:34 2026 +0100

    Fix encoding problem
    
    this isn't necessarily ASCII
---
 src/BufferParams.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index bd7559cc8a..1a3fbfef13 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -2113,7 +2113,7 @@ bool isAtOther(docstring const passage, docstring & context)
 			cc = true;
 			continue;
 		}
-		context += from_ascii(token);
+		context += from_utf8(token);
 	}
 	return cc;
 }


More information about the lyx-cvs mailing list