logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: [PB]: bbdb-file encoding: msg#00007

emacs.bbdb.user

Subject: Re: [PB]: bbdb-file encoding

Alex Schroeder <alex@xxxxxxx> writes:

> Dave Love <d.love@xxxxxxxx> writes:
>
>> Xavier Maillard <zedek_ML_@xxxxxxxxxxx> writes:
>>
>>> So what is the *best* or the *recommended* coding system to use for
>>> BBDB knowing that my contacts are world wide.
>>
>> The one that's set in recent versions (as far as I know),
>> i.e. `iso-2022-7bit', at least if you want to be at all portable
>> between Emacs and XEmacs as some people apparently do. The _correct_
>> one in Emacs 21 is really `emacs-mule', as etc/MORE.STUFF says, but
>> `iso-2022-7bit' happens to DTRT with eight-bit characters.
>
> Do you think the following code and comment in bbdb.el is correct?

Yes, as in the explanation above. Why do not think so?

> ;; iso-2022-7bit should be OK (but not optimal for Emacs, at least --
> ;; emacs-mule would be better) with both Emacs 21 and XEmacs. Emacs
> ;; 22 will really need utf-8-emacs.
> (defconst bbdb-file-coding-system (if (fboundp 'coding-system-p)
> (if (coding-system-p 'utf-8-emacs)
> 'utf-8-emacs
> 'iso-2022-7bit))
> "Coding system used for reading and writing `bbdb-file'.
> This should not be changed by users.")
>
>
> Maybe this explains why I'm getting utf-8-emacs... I'm using the
> unicode branch from CVS Emacs: GNU Emacs 22.0.0.1 (i686-pc-linux-gnu,
> X toolkit, Xaw3d scroll bars) of 2004-02-11 on confusibombus

That's brave. When I left it, it wasn't in a state that I'd trust
mail to it... It specifically doesn't DTRT with Babyl.

> I'd just like to see both code and comment fixed such that I can
> understand it a few months from now. Can you suggest a change?

Sorry, you'll have to explain why either needs fixing. (I can still
understand them, for what it's worth.)


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
bbdb-info@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo