DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd October 2015
NaWi NaWi is offline
Fdisk Soldier
 
Join Date: Aug 2015
Location: Austria
Posts: 52
Default German umlauts / special characters in filenames ?

Hello !

I followed the FAQ and, it works in parts (I use -current). I set LC_CTYPE and LC_MESSAGES in .profile and .xsession in $HOME. Now, viewing files in more using XTerm (I haven't configured it) which contains öäü and others worked fine.

Code:
$ locale
LANG=de_AT.UTF-8
LC_COLLATE="C"
LC_CTYPE=de_AT.UTF-8
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES=de_AT.UTF-8
LC_ALL=
I also tried it, without to set LANG with the same result.

But, if I use something like ls or colorls in XTerm, I got something like

Code:
$ colorls
?          Upload     images     posts      templates
TeX        css        index.html site.hs    ???vR
What is missing to show all filenames correct ?

Thanks for ideas.
Reply With Quote
  #2   (View Single Post)  
Old 22nd October 2015
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 652
Default

What if you use uxterm as opposed to xterm? Does that make any difference?
Reply With Quote
  #3   (View Single Post)  
Old 22nd October 2015
NaWi NaWi is offline
Fdisk Soldier
 
Join Date: Aug 2015
Location: Austria
Posts: 52
Default

Thanks for your answer.

I tried it launching a UXTerm from a XTerm - nope, the same result.
Reply With Quote
  #4   (View Single Post)  
Old 22nd October 2015
NaWi NaWi is offline
Fdisk Soldier
 
Join Date: Aug 2015
Location: Austria
Posts: 52
Default

Solved in parts - more ideas are very welcome.

I created a file using german umlauts with touch, to see whether OpenBSD's XTerm displayes the filename correct - nope. I checked my backup and, don't know from where the above strange files are - no problem, at the end booth files where empty.

Yes - I know, I should not use special characters in filenames but, the company with the half-eaten Apple does it, if you bought music there ... so, ROX (the file manager) helped. It can't open the above strange files but let me rename them. ROX displayes the correct filename of the file, which I created using touch and, I get the information, that the filename contains a wrong UTF-8 format which I should rename. ROX displays also the correct filenames of the bought music which came from a HFS+ partition and are stored at the moment on a FAT32 partition.

If I list the files which I renamed with ROX in XTerm, they are again displayed starnge. Before ö was replaced with ? now with ??.

The question is now, should I continue with the UTF-8 locale or use another more specific one ?
Reply With Quote
  #5   (View Single Post)  
Old 22nd October 2015
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default

I have not set up my system to use non-Latin characters in terminals, but Chinese and Japanese characters are displayed with PCmanFM. I can also use PCmanFM to change file names to English without any problems. You might want to try that file manager and see if it works better for you than ROX.
Reply With Quote
  #6   (View Single Post)  
Old 22nd October 2015
NaWi NaWi is offline
Fdisk Soldier
 
Join Date: Aug 2015
Location: Austria
Posts: 52
Default

Thanks for your answer.

Yes, I will have a look at it. At the moment are some dependencies are not available to install it using -current. I will try it tomorrow again.
Reply With Quote
  #7   (View Single Post)  
Old 23rd October 2015
NaWi NaWi is offline
Fdisk Soldier
 
Join Date: Aug 2015
Location: Austria
Posts: 52
Default

New day, new try - more luck.

The installation of PCmanFM didn't worked - I will try that at another day with a 5.7 or 5.8 -release instead a -current. If I remember correct, it is the LXDE file manager which is also used in Raspbian on the RasPi - was not bad there.

I tried all needed steps again with a new user and, it worked to display files which are created with OpenBSD and, listed / displayed using colorls. Don't know, what goes wrong yesterday - for now, let's call this topic as solved.

Thanks for your answers.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
special characters missing? Franciscus NetBSD Installation and Upgrading 2 6th June 2013 09:05 AM
ZFS filenames encoding misrepresentation with non-ASCII characters godfrank FreeBSD General 2 11th April 2011 06:56 PM
Attacks on German mTAN banking users J65nko News 1 5th April 2011 09:38 PM
find last or special command I run with /bin/csh mfaridi FreeBSD General 6 10th January 2011 09:35 AM
sorting special characters gosha Programming 15 9th April 2009 02:29 AM


All times are GMT. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick