From 61a33b539a2b19d0f6f1937a655cad67e8fc547d Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 29 Apr 2025 15:27:40 +0200 Subject: [PATCH] Remove deprecated bctbx_set_default_encoding --- CHANGELOG.md | 14 +++++++++++++- linphone-app/src/app/App.cpp | 3 ++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fe8837ae6..f39fa6646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Screen Sharing -## 5.2.4 - undefined +## 5.2.6 - 2024-07-22 + +### Fixed +- Crash on Windows when using non-UTF8 characters in system username. +- Update SDK to 5.3.72 + +## 5.2.5 - 2024-07-10 + +### Fixed +- Case sensitive issue with sip attributes on LDAP search. +- Update SDK to 5.3.68 + +## 5.2.4 - 2024-04-11 ### Fixed - File permission after auto downloading a file. diff --git a/linphone-app/src/app/App.cpp b/linphone-app/src/app/App.cpp index 115a89be4..4d56a559b 100644 --- a/linphone-app/src/app/App.cpp +++ b/linphone-app/src/app/App.cpp @@ -307,7 +307,8 @@ App::App(int &argc, char *argv[]) // Use UTF-8 for internals. Linphone uses UTF-8 so there will be no loss on // data with less precise encodings. Qt will do the rest. - bctbx_set_default_encoding(Constants::LinphoneLocaleEncoding); + // bctbx_set_default_encoding(Constants::LinphoneLocaleEncoding); + setlocale(LC_CTYPE, ".UTF8"); createParser(); mParser->parse(this->arguments());