LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2006, 05:07 PM   #1
trawler
Member
 
Registered: Oct 2005
Distribution: Ubuntu 5.10
Posts: 50

Rep: Reputation: 15
squirrelmail and non-standard languages (hebrew)


I have an courier/postfix server running on ubuntu dapper drake.
I've come across a problem regarding squirrelmail, which is my webmail client.

When i try sending text-only hebrew emails via squirrelmail it's received on the other end as a bunch of gibberish.

This, I suppose is due to some lack of language support on squirrelmail side, cause when i send emails through other clients (like thunderbird) the encoding is just fine.

Maybe If i could send emails in html form, it would come out ok, but I'm not sure squirrelmail even supports it..

Any Ideas, anyone?
 
Old 03-21-2017, 06:42 AM   #2
Hersh R
LQ Newbie
 
Registered: Mar 2017
Posts: 1

Rep: Reputation: Disabled
Run /usr/sbin/squirrelmail-configure as root to configure/upgrade config.
Choose "Languages" from the menu and change the default char set to utf-8

Save your data.

(I know, this comes 12 years too late, but...)
 
Old 03-23-2017, 09:57 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,559
Blog Entries: 4

Rep: Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888
Quote:
Originally Posted by Hersh R View Post
[...] change the default char set to utf-8 [...]

(I know, this comes 12 years too late, but...)
Yes, but this sort of issue comes up constantly.

If text "comes up gibberish," it is always because(!) the client does not know the proper "character encoding." If the client believes that the data is ASCII, it will not look for the multi-byte (probably, but not necessarily, Unicode) characters. It will print everything as ASCII, one byte at a time, equals gibberish. The client does not take it upon itself to "figure out" what the encoding is: it must somehow be told.

(Note: Some commands, such as file, do undertake to "make an intelligent guess" as to how a file might be encoded. But it is infeasible to expect the client to rely upon such guesses. After all, it might be dead-wrong.)

UTF-8 is a very commonly-used encoding format that is efficient when many of the characters-of-interest are ASCII. Another variation, UTF-16, is more memory-efficient when you know that most of the characters of interest are not going to be ASCII. Both of them fundamentally consist of a way to represent (Unicode) characters using a varying number of bytes each. And yet, while the UTF schemes have gained much traction, there are other character-sets (e.g. EBCDIC) and character-encoding schemes in common use.

This StackOverflow post provides almost anything you could want to know about the subject.

Last edited by sundialsvcs; 03-23-2017 at 10:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Amarok and Hebrew dotancohen Linux - Software 8 02-25-2006 02:22 AM
languages of linux: which languages can be choosen in suse and red-hat distributions? Klaus Schnorr Linux - Software 3 09-10-2005 03:19 AM
No hebrew at all in sarge fazaman Debian 3 04-27-2005 12:30 PM
Looking for Hebrew dictionary alexaltair Linux - Software 1 09-10-2003 03:52 PM
standard vs Expert install? Standard flubs up! Frost Linux - Software 1 03-27-2002 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:05 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