Bug 1213055

Summary: locale problems in the default distrobox configuration
Product: [openSUSE] openSUSE Aeon Reporter: Jan Novotný <shadenk30011>
Component: DistroboxAssignee: Richard Brown <rbrown>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P3 - Medium CC: shadenk30011, stacheldrahtje
Version: Current   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jan Novotný 2023-07-05 20:06:52 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Build Identifier: 

When creating a new container using "distrobox-create" the container fails to display directory names properly.

For example the directory named "Stažené" shows up as "'Sta'$'\305\276''en'$'\303\251'" when using ls.

Reproducible: Always

Steps to Reproduce:
1. Use the czech locale
2. Create a directory inside the home that uses one of the offending symbols
3. Create a new distrobox container and run "ls"
Actual Results:  
Directory name isn't properly displayed.

Expected Results:  
Directory name is properly displayed.

A workaround is to install the "glibc-locale" package.

This can be automated by adding 'container_additional_packages="glibc-locale"' into the distrobox configuration.
Comment 1 Richard Brown 2023-07-24 08:53:37 UTC
Thanks for the report, I'll take care
Comment 2 Richard Brown 2023-07-24 08:55:14 UTC
Setting Prio
Comment 3 Richard Brown 2024-05-01 11:21:33 UTC
Wouldn't a better workaround be to do `zypper aloc cs_CZ` in the distrobox rather than requiring everyones container to be bigger for locales that may not apply to them?
Comment 4 Richard Brown 2024-05-01 11:28:32 UTC
Wouldn't a better workaround be to do `zypper aloc cs_CZ` in the distrobox rather than requiring everyones container to be bigger for locales that may not apply to them?
Comment 5 Richard Brown 2024-05-23 16:10:26 UTC
Fixed in https://build.opensuse.org/request/show/1176516
Comment 6 OBSbugzilla Bot 2024-05-23 20:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1213055) was mentioned in
https://build.opensuse.org/request/show/1176548 Factory / gnome-branding-Aeon