I'm wanting to get back into JavaScript Unicode programming.
In fact I want to do everything in JavaScript since I can do it wherever I have a browser.
The most important resource for low-level Unicode is the machine-readable file UnicodeData.txt, which is officially available via FTP:
But if I'm doing everything in JavaScript I'll need fetch that file to process, since I'm not aware of any JavaScript libraries which provide the data via some wrapper etc.
But of course JavaScript can only use XMLHttpRequest, which doesn't support FTP.
I thought I had located the file via HTTP at unicode.org too, but it didn't support CORS (Cross-origin resource sharing) and I think it was only an ancient Unicode 1.0 version anyway.
So does anyone know of any HTTP URL where I can fetch an up-to-date UnicodeData.txt via JavaScript?
Maybe Google or ICU or Yahoo hosts some machine-readable files? Or maybe somebody even made a JSON version of it so I can use JSONP to fetch it instead of needing CORS?
Why do I want to do this? I want to implement various functionalities as are supported by Python's unicodedata module and Perl's Unicode::UCD module. I've done it before but don't have access to my old code. Also my old code used Perl or Python to do some JavaScript code and table generation. Now as a learning exercise I want to do the code and table generation all in javaScript.