seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
73 stars 38 forks source link

Multi-byte character titles blank out citations #143

Open xopoc14 opened 1 year ago

xopoc14 commented 1 year ago

Bug reports:

A citation is rendered black if Japanese hieroglyphs are used in the title

Used CSL stylesheet:

Please replace this line with the name of your used CSL stylesheet (i.e. chicago-author-date-16th-edition.csl)

Used CSL metadata

Please replace these lines with your used metadata, for instance:

[
    {
        "author": [
            {
                "family": "Anderson", 
                "given": "John"
            }
        ], 
        "id": "ITEM-2", 
        "type": "book",
        "title": "こんにちは世界"
    }
]

Expected: Anderson, John. こんにちは世界.

Actual: .