Re: latin1 characters in RIS entries not converted to UTF-8 by runbib when creating .bib.xml bibliography file

Markus Hoenicka <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Olivier,

the latest prerelease and the current SVN version use UTF-8 as the default
throughout (input/storage/output). On the long run you'll be better off if you
set up your editor to use UTF-8 as well. I've got this in my .emacs:

;; xml files, planner files, as well as files with "utf8" somewhere
;; in the path are opened as Unicode
(setq file-coding-system-alist
      (append (list
	       (cons "\\.xml$" 'utf-8)
	       (cons "utf8" 'utf-8)
	       (cons "Plans" 'utf-8))
	      file-coding-system-alist))

This covers risx files as long as they use the suffix ".xml", and RIS files as
long as you put "utf8" somewhere in the filename, like in "test.utf8.ris".

regards,
Markus

Olivier Berger <[email protected]> was heard to say:

> Allright, sorry for previous message... in the meantime, I've been
> thinking of how it works, and checked... and apparently the issue is
> that I was editing the RIS entries as latin-1, whereas
> in /etc/refdb/refdbcrc, I have :
> fromencoding UTF-8
>
> So it seems my database records where containing latin-1 accentuations,
> which would be generated as such in the UTF8 XML...
>
> I updated the RIS entry to use UTF8 accents, and now I get everything
> clean and compiling...
>
> Maybe I should change my /etc/refdb/refdbcrc preferences, then (or see
> how to have emacs RIS mode handle everything as UTF8 by default ?)
>
> Sorry for bothering.
>



-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.