Fix UTF-8 output in BibTeX translator in 1.0.9 (not yet pushed)
This commit is contained in:
parent
3122339d8a
commit
dad0b3125f
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
"maxVersion":"",
|
||||
"priority":200,
|
||||
"inRepository":true,
|
||||
"lastUpdated":"2008-12-16 23:13:33"
|
||||
"lastUpdated":"2008-12-29 23:54:59"
|
||||
}
|
||||
|
||||
Zotero.configure("dataMode", "block");
|
||||
|
@ -1807,7 +1807,7 @@ function writeField(field, value, isMacro) {
|
|||
// Case of words with uppercase characters in non-initial positions is preserved with braces.
|
||||
if(!isMacro) value = value.replace(/([^\s]+[A-Z][^\s]*)/g, "{$1}");
|
||||
}
|
||||
if (!Zotero.getOption("UTF8")) {
|
||||
if (Zotero.getOption("exportCharset") != "UTF-8") {
|
||||
value = value.replace(/[\u0080-\uFFFF]/g, mapAccent);
|
||||
}
|
||||
Zotero.write(value);
|
||||
|
|
Loading…
Add table
Reference in a new issue