[Bug 2058447] [NEW] Bug in transcoding wide chars
Sergio Ĥlutĉin
2058447 at bugs.launchpad.net
Wed Mar 20 07:17:30 UTC 2024
Public bug reported:
The following example throws an exception when using wide character
strings with Cyrillic characters.
$ g++-9 -std=c++17 path.C && ./a.out
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Invalid or incomplete multibyte or wide character
The error only appears with GCC version 9
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: g++-9 9.5.0-5ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-7.7.1-lowlatency 6.8.0-rc3
Uname: Linux 6.8.0-7-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Wed Mar 20 11:08:05 2024
InstallationDate: Installed on 2022-04-28 (692 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: gcc-9
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: gcc-9 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
** Attachment added: "path.C"
https://bugs.launchpad.net/bugs/2058447/+attachment/5757424/+files/path.C
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-9 in Ubuntu.
https://bugs.launchpad.net/bugs/2058447
Title:
Bug in transcoding wide chars
Status in gcc-9 package in Ubuntu:
New
Bug description:
The following example throws an exception when using wide character
strings with Cyrillic characters.
$ g++-9 -std=c++17 path.C && ./a.out
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: Cannot convert character sequence: Invalid or incomplete multibyte or wide character
The error only appears with GCC version 9
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: g++-9 9.5.0-5ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-7.7.1-lowlatency 6.8.0-rc3
Uname: Linux 6.8.0-7-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Wed Mar 20 11:08:05 2024
InstallationDate: Installed on 2022-04-28 (692 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: gcc-9
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/2058447/+subscriptions
More information about the foundations-bugs
mailing list