** Description changed:

  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
+     $ 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
+ The error only appears with GCC versions 9 and 10.
+ Versions 11 to 14 are free from this bug.
  
  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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058447

Title:
  Bug in transcoding wide chars

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/2058447/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to