cloudbearings / ez-access-web

Automatically exported from code.google.com/p/ez-access-web
0 stars 0 forks source link

i18n: Unicode character support for speaking text in a text field #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
ezvoice.js/getTypedSpeech() provides the last partial word spelled out to the 
user. Currently it only works with basic English/Latin characters with no 
accents, etc. JavaScript has very poor unicode support, but that can be 
improved with XRegExp which has a MIT license.

I added a comment about how to do this in Google code to line 24 of ezvoice.js 
in r205. It is pasted below:
// Using xregexp 
var ALPHABET_CHAR = XRegExp('\\p{Letter}');

Need to include:
XRegExp 2.0.0
Unicode Base 1.0.0
which are available at http://xregexp.com/

Original issue reported on code.google.com by jbjor...@gmail.com on 31 Jul 2013 at 3:30