Skip to content

Not able to do string normalization by using Unorm.js  #43

@chdatif

Description

@chdatif

In my visual studio 2008 asp.net project I tried to use Unorm.js for string normalization. I added the unorm.js file in my project and use it on my webpage and write my own javascript function to normalize the string using UNorm.normalize('NFC', str) function

but an error occurs within the Unorm.js file's function fromData(next, cp, needfeature) as given below:

JavaScript runtime error: Unable to get property '768' of undefined or null reference

I tried following ways to normalize the string from my javascript code but no luck:

var strpwd = 'Ω';

1- nstr = UNorm.normalize('NFC',strpwd);

2- nstr = UNorm.nfc(strpwd);

Please suggest me the solution.

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