PKP Bugzilla – Bug 6965
Error in citation plugins with multibyte characters in author names
Last modified: 2011-12-01 11:40:51 PST
In the case of a multibyte character (e.g. Cyrillic) as the author's first initial, the citation format plugins will complain and return a blank. Message: WARNING: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument Thanks to http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=8091&p=31483#p31483 for spotting and providing a fix. Also applies to OCS.
Created attachment 3686 [details] Patch against OJS pre-2.3.7
Created attachment 3687 [details] Patch against OCS pre-2.3.5
Fixed bug in some citation plugins that request first initial that is a multibyte character https://github.com/pkp/ojs/commit/4383d9fd19571a3c826b21f48159078e9b418d75
Fixed bug in some citation plugins that request first initial that is a multibyte character https://github.com/pkp/ojs/commit/3d1d99c1ead7cd185b91ff9d11f3f67801059182
Fixed bug in some citation plugins that request first initial that is a multibyte character https://github.com/pkp/ocs/commit/5d025a231c7a4efb83ce90736e17e7d7bb5f9869
Fixed bug in some citation plugins that request first initial that is a multibyte character https://github.com/pkp/ocs/commit/ebc91f74b40cb2f1d4999b8d6d99ed13a1d1532c
Committed to OCS/OJS stable/devel, added to patches lists. Closing.