LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-14-2007, 11:53 AM   #1
gejr
Member
 
Registered: Apr 2006
Posts: 53

Rep: Reputation: 15
utf8 with "dialog" possible?


Can the "dialog"-program be set to use Norwegian/Scandinavian characters somehow? Like Æ Ø Å æ ø å?

It's weird if such an old, well documented program doesn't support this, isn't it?
 
Old 09-14-2007, 06:09 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Actually it's quite the opposite in my experience. Older programs like this were written before unicode became widespread enough to need supporting. It's when newer programs don't support it that I get surprised.

I don't really know anything about dialog. In fact, I only discovered it yesterday when I wanted to include a pop-up in a script I created. I wonder if it might be possible to use another character set that does handle those characters though. Perhaps changing the language variable of the shell it's running in will do something?

Edit: I just ran a quick test of dialog --msgbox with the characters you posted and it displayed them correctly. And I'm running $LANG=en_US.UTF8. It also works with Japanese. Xdialog can also handle the former, but not the latter, it seems. So I don't know why it isn't working for you.

Last edited by David the H.; 09-14-2007 at 06:19 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Run Application" dialog box NOT running applications trident Linux - Desktop 5 03-12-2008 10:55 AM
Get location bar in "Open File" dialog box ZeroFill Linux - Newbie 1 06-30-2006 06:10 PM
A dialog box saying " inode missing" !!!! m.parthiban Fedora 1 04-02-2006 12:46 AM
kde "end session dialog" improvement c__dric Linux - Software 1 10-01-2003 09:45 PM
Gnome 1.4: howto set ATX-shutdown/restart support in the "logout"-dialog? Debianewb Linux - Software 1 11-08-2002 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration