highlight dicritic arabic text

Posted by user602720 on Stack Overflow See other posts from Stack Overflow or by user602720
Published on 2012-12-05T17:00:02Z Indexed on 2012/12/05 17:03 UTC
Read the original article Hit count: 149

hi this plugin to highlight words but I'm trying to highlight diacritic arabic word like this example :

jsfiddle.net/z8PUG/84/

but its not working i tested for three arabic characters

'?': '[\u0645\u064b\20\u0645\u064c\20\u0645\u064d\20\u0645\u064e\20\u0645\u064f\20\u0645\u0650\20\u0645\u0651\20\u0645\u0652\20\u0645\u0653]', '?': '[\u062d\u064b\20\u062d\u064c\20\u062d\u064d\20\u062d\u064e\20\u062d\u064f\20\u062d\u0650\20\u062d\u0651\20\u062d\u0652\20\u062d\u0653]', '?': '[\u062f\u064b\20\u062f\u064c\20\u062f\u064d\20\u062f\u064e\20\u062f\u064f\20\u062f\u0650\20\u062f\u0651\20\u062f\u0652\20\u062f\u0653]',

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about syntax-highlighting