SineCosine
I'm still looking for my Tangent
- Reaction score
- 77
Yea..
Let us say I have this particular character that I want to convert.
This --> ?
The hexadecimal is 2665.
But to get that, I had to look at a chart.
And to display it in certain places, I had to use \u2665 to show ?
Is there any javascript that goes like..
Is there any javascript code that does that?
Having to look up a chart is tiring =/
[EDIT]
OMFG.
THe '?' you see is supposed to be a 'heart' symbol.
Not a question mark =/
Let us say I have this particular character that I want to convert.
This --> ?
The hexadecimal is 2665.
But to get that, I had to look at a chart.
And to display it in certain places, I had to use \u2665 to show ?
Is there any javascript that goes like..
Code:
function Blah () {
var string = 'This is a unicode char. ?';
string = ConvertUnicodeToHex(string);
//at this point, string should be == 'This is a unicode char \u2665'
}
Is there any javascript code that does that?
Having to look up a chart is tiring =/
[EDIT]
OMFG.
THe '?' you see is supposed to be a 'heart' symbol.
Not a question mark =/