I have a char array "data" and a Int32 "dictIdFrame". I would like that dictIdFrame takes the value in ASCII (0-255) of data[i,...,i+3], I mean the four bytes become one single int32, where data[i] is the less significant and data[i+3...
I'm looking to convert a string of html entities specifying ASCII codes (ie: a) to the ASCII characters they represent (ie: a). I'm using a property of an object and trying to assign a value. For instance:  object.Text("");...
After attempting to answer the question to this post  Another SO post  I noted that this  Function('return "\\101\\40\\171\\145\\154\\154\\157\\167\\40\\142\\165\\164\\164\\157\\156\\56"')()   or   Function('return "\101\40\17...
I need to convert all English numbers that appear in a given HTML page to Arabic ones (to be independent from the user browser encoding). I prefer to use javascript or it will be great if this can be handled using CSS.   I found some pages doing this...
I'm looking to detect internationalized domain names and local portions in email addresses, and would like to know if there is a quick and easy way to do this with regex or otherwise in Javascript....
Is it possible to convert a hexadecimal value to its respective ASCII character, not using the String.fromCharCode method, in JavaScript?  For example:  JavaScript:   0x61 // 97  String.fromCharCode(0x61) // a   C-like:   (char)0x61 // a...
I'm wondering how it's possible to 'translate' characters in UTF-8 to the closest ASCII equivalent using Javascript, just like Iconv doest in PHP.  Example:  ü becomes uó becomes o  I'd rather not use a replace, because a) it re...
Is it possible to detect binary data in JavaScript?  I'd like to be able to detect binary data and convert it to hex for easier readability/debugging.    After more investigation I've realized that detecting binary data is not the right quest...
I have a string of ASCII characters (created randomly by [NSString stringWithFormat:@"%c", someNumber]), and I want to use that string as input for a javascript method. Something like:  [webView_ stringByEvaluatingJavaScriptFromString:[NSStri...
I want to allow input such as 1:10, but not 1;10. However, : and ; both correspond to keyCode 186, so using keyCode to prevent the ; key from inputting into my input field does not work. I also researched into using charCodes, but charCodes don't...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.