Dash in AMA is producing odd characters "â"
Hello,
The dash "-" is producing very strange, broken characters in AMA bibliography.
For example, if the title is "Chapter 24 - Warfarin", it would show in bibliography as "Chapter 24âWarfarin".
It seems to replace "-" with "â".
I will copy and paste an example bibliography for more context:
Fernando S, Broadfoot A. Chronic urticariaâAssessment and treatment. Aust Fam Physician. 2010;39(3):135-138. http://www.ncbi.nlm.nih.gov/pubmed/20369115.
The correct title is supposed to be:
Fernando S, Broadfoot A. Chronic urticaria - Assessment and treatment. Aust Fam Physician. 2010;39(3):135-138. http://www.ncbi.nlm.nih.gov/pubmed/20369115.
If anyone can advise, that would be much appreciated. Thank you.
Lily
(FYI, I've checked that my Zotero is latest version and updated. This occurs whether the reference is Journal Article, Book, Website, etc. I tried uninstalling and reinstalling Zotero, but problem persists)
The dash "-" is producing very strange, broken characters in AMA bibliography.
For example, if the title is "Chapter 24 - Warfarin", it would show in bibliography as "Chapter 24âWarfarin".
It seems to replace "-" with "â".
I will copy and paste an example bibliography for more context:
Fernando S, Broadfoot A. Chronic urticariaâAssessment and treatment. Aust Fam Physician. 2010;39(3):135-138. http://www.ncbi.nlm.nih.gov/pubmed/20369115.
The correct title is supposed to be:
Fernando S, Broadfoot A. Chronic urticaria - Assessment and treatment. Aust Fam Physician. 2010;39(3):135-138. http://www.ncbi.nlm.nih.gov/pubmed/20369115.
If anyone can advise, that would be much appreciated. Thank you.
Lily
(FYI, I've checked that my Zotero is latest version and updated. This occurs whether the reference is Journal Article, Book, Website, etc. I tried uninstalling and reinstalling Zotero, but problem persists)
This discussion has been closed.
I checked for updates again, and ensured that I have the latest version. Also, I tried reinstalling Word Processors, and the same issues persist.
I tried disabling each one at a time, so that I am using only one of those, but the same issue still persists.
When I disabled Zotero Word for Windows Integration, and only enabled the Zotero LibreOffice Integration, the Microsoft Word Zotero did not work at all, but gave me a pop-up that said "Zotero could not load the component necessary to communicate with your word processor. Go to Tools → Add-ons → Extensions in Zotero and make sure that the extension for your word processor is enabled". So it seems like Zotero Word for Windows Integration is the correct word processor that I am using (not the LibreOffice) to add Zotero references in Microsoft Word. But disabling LibreOffice and enabling only the Zotero Word for Windows Integration does not do anything, and does not solve the problem.
(Technical explanation: We were apparently loading all JavaScript files as ASCII. We've always just escaped extended characters in Zotero code without really thinking about this, but citeproc-js used an embedded em dash in the new uppercase_subtitles code (which we applied to AMA in 5.0.70). I've now fixed this properly, so embedded UTF-8 characters in JS files should no longer be a problem.)
However, I'm still a little confused by the behavior here, so hopefully @fbennett or someone else can clarify. With uppercase_subtitles applied, a title of
Chapter 24 - Warfarin
(a regular ASCII hyphen with spaces around it) becomesChapter 24—Warfarin.
(an em dash with no spaces around it) in the AMA bibliography. If I disable uppercase_subtitles, it's left asChapter 24 - Warfarin
. This seems out of scope for uppercase_subtitles, and I don't know whether it's correct behavior for AMA (or APA and Academy of Management, where we also apply uppercase_subtitles).[Edit: This page was loading in full for me originally, but now it wants a subscription.]