Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported unicode characters exist in two styles that can cause issues for some XML parsers #7222

Open
mdmower opened this issue Sep 23, 2024 · 0 comments · May be fixed by #7274
Open

Unsupported unicode characters exist in two styles that can cause issues for some XML parsers #7222

mdmower opened this issue Sep 23, 2024 · 0 comments · May be fixed by #7274

Comments

@mdmower
Copy link

mdmower commented Sep 23, 2024

These two styles have unsupported unicode characters:

<number variable="number-of-volumes" form="numeric" prefix="1�"/>

<text variable="number" prefix=" N�"/>

mdmower added a commit to mdmower/csl-styles that referenced this issue Oct 21, 2024
`journal-of-the-marine-biological-association-of-the-united-kingdom.csl`

- From PR citation-style-language#2547, it looks like the original style was cloned from
  `apa-6th-edition.csl`. The invalid character in `number-of-volumes`
  was updated to match that journal: `&#8211;`.

`museum-national-dhistoire-naturelle.csl`

- Overwhelmingly, styles use the following within the `genre` macro:
  ```
  <text variable="number" prefix=" No. "/>
  ```
  Only styles with default locale `de-DE` sometimes use ` Nr. `.

Fixes citation-style-language#7222
@mdmower mdmower linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant