On Aug 21, 2008, at 8:39 PM, Maxwell, Adam R wrote:

On 08/21/08 14:38, "Christiaan Hofman" <[EMAIL PROTECTED]> wrote:


On 21 Aug 2008, at 11:18 PM, James Howison wrote:


On Aug 21, 2008, at 4:28 PM, Maxwell, Adam R wrote:

On 08/21/08 12:34, "James Howison" <[EMAIL PROTECTED]> wrote:

PLOS is publishing their bibtex in utf8 (as a downloaded .bib file).
Which is fine, if one opens the file with utf8 encoding.  However
when
I double click it, BibDesk (1.3.18) gives the "Unable to parse
string
as BibTeX" error, which suggests editing, but not trying a different
encoding.

Try dropping the file on your document's main window, which I should
have
suggested to JT as well.  That will force BibDesk to guess the
encoding, and
UTF-8 will be tried if the file does not have a Unicode BOM (unless
that's
changed in the last few months). Double-clicking the file only uses
your
default encoding.

Dropping the file I linked to does import the entry, but it produces a different (wrong) result (the umlauted i char is messed up) than using
the open-with encoding option.

It probably used Unicode, because that's tried before UTF-8. Shows my
point that you can't just trust it only because it didn't fail.

It only uses Unicode if the file has the appropriate BOM, and UTF-8 must not have that. James, what is the encoding of the document you dropped the file on? If it's Mac Roman or Latin 1, it's probably "succeeding" with that encoding and never tries UTF-8. Mac Roman is gapless so you'll always get
something out of it.

'ere tis:

Attachment: 10.1371%2Fjournal.pcbi.1000108.bib
Description: Binary data




AFAICS it's utf-8 (ok, that's what TextMate reports and when opened with that encoding the ï character (umlaut-i) shows up fine.

--J
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to