vcl/win/gdi/salfont.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 2bc0e74160320a35f4fa89f6b0388064dff34b6d Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Mon Aug 4 16:58:38 2025 +0500 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Aug 4 16:12:35 2025 +0200 Add a reference where these special codepage values are mentioned Change-Id: Ife470eb275c7cdc1ca5dad3905c2699dc08dc020 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188917 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Jenkins diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index 4b70a141d6c4..d6b9a0068e89 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -264,7 +264,8 @@ static rtl_TextEncoding ImplCharSetToSal( BYTE nCharSet ) switch ( nCP ) { // It is unclear why these two (undefined?) code page numbers are - // handled specially here: + // handled specially here. They are mentioned briefly in + // https://github.com/osfree-project/osfree/blob/165b89a685030c2b875aa0c7c5db420afc8db5f6/docs/dos/dos.txt case 1004: eTextEncoding = RTL_TEXTENCODING_MS_1252; break; case 65400: eTextEncoding = RTL_TEXTENCODING_SYMBOL; break; default: