seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
76 stars 39 forks source link

Latin Extended Additional characters in author name blank out citations #154

Open moefuerst opened 1 year ago

moefuerst commented 1 year ago

Bug reports:

A citation is rendered blank if Latin Extended Additional characters are used in the author (family) name.

Used CSL stylesheet:

Tested with: apa-6th-edition.csl, apa.csl, acm-siggraph.csl

Used CSL metadata

[
    {
        "author": [
            {
                "family": "Nguyễn", 
                "given": "Hải"
            },
           {
               "family": "Brown", 
               "given": "John"
           }
        ], 
        "id": "ITEM-2", 
        "type": "book",
        "title": "Two authors writing a book"
    }
]

Expected: Nguyễn, H, Brown, J. Two authors writing a book.

Actual: