Skip to content

Symbols & Punctuation Support #16

@JamoCA

Description

@JamoCA

I'm not entirely sure if this is a valid bug report or not, but while pasting content from Microsoft Word to CKEditor and processing using Junidecode, I encountered a reproducible java.lang.NullPointerException error. I narrowed it down to a single "right single quotation mark" (U+2019) character.

To prevent this error from being a show stopper, I wrote a wrapper for the Junidecode function that pre-sanitizes symbols & punctuation using the recommended mapping from NIH's Lexical Systems Group: https://lexsrv3.nlm.nih.gov/LexSysGroup/Projects/lvg/2013/docs/designDoc/UDF/unicode/NormOperations/mapSymbolToAscii.html

Here's the ColdFusion (similar to Java) user-defined function that I wrote.
https://gist.github.com/JamoCA/6f35220d47caa7fdbf75eb884ff1cec7

Is this something that should be added to Junidecode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions