How can I use Unicode-aware regular expressions in JavaScript? For example, there should be something akin to \w that can match any code-point in Letters or Marks category (not just the ASCII ones), and hopefully have filters like [[P*]] for punctu...
I take user-input (JS code) and execute (process) them in realtime to show some output.  Sometimes the code has those zero width space, it's really weird. i don't know how the users are input'ing that. Example - "(?$".length ===...
I need to convert the punycode NIATO-OTABD to nñiñatoñ.  I found a text converter in JavaScript the other day, but the punycode conversion doesn't work if there's a dash in the middle.  Any suggestion to fix the "dash" issue?...
I need to insert an Omega (?) onto my html page. I am using its HTML escaped code to do that, so I can write Ω and get ?. That's all fine and well when I put it into a HTML element; however, when I try to put it into my JS, e.g. var Om...
I'm writing some javascript that processes website content. My efforts are being thwarted by SharePoint text editor's tendency to put the "zero width space" character in the text when the user presses backspace.  The character's u...
Is it possible to detect if the client supports a particular Unicode character or if it will be rendered as a missing glyph box?  Important: Support in as many browsers as possible  Not important: Efficiency, speed, or elegance  The only method I can...
I have this Unicode string:  ??????????????????  And I want to it split by chars.  Right now if I try to loop truth all chars I get something like this:  A a a ' ? ...   Is there a way to properly split this string to chars:  ? ? ?? ?...
I have an array containing strings with special unicode characters:  var a = [     ["a", 33],       ["h\u016B", 44],     ["s\u00EF", 51],     ... ];   When I loop over this array:  for (i=0;i<a.length;i++) {     document.wr...
I need to find out the names for Unicode characters when the user enters the number for it. An example would be to enter 0041 and get given "Latin Capital Letter A" as the result....
I’ve done some Google searches, but I get results related to encoding strings or files.  Can I write my Node.js JavaScript source code in UTF-8? Can I use non-ASCII characters in comments, strings, or as variable names?  ECMA-262 seems to require U...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.