a datatype that can hold a character of the implementation’s character set.
Questions tagged [chars]
208 questions
2
votes
3 answers
JQUERY "syntax error, unrecognized expression" received
The error below appears in firebug:
Error: Syntax error, unrecognized expression: >
jquery line 3
I can't understand what this is, i tried searching for that character in my code but I can't find anything. I just found some function call:…

itsme
- 48,972
- 96
- 224
- 345
2
votes
0 answers
Can't send sms messages which contains umlauts chars (programmatically)
I'm sending SMS by using the following method:
sendTextMessage(address, null, text, null, null);
Everything works ok while using english chars, but if the text contains at least one umlaut char the sms isn't being sent.
Please note that I don't get…

Paz
- 365
- 2
- 4
- 8
2
votes
6 answers
Special chars in Python
i have to use special chars in my python-application.
For example: ƃ
I have information like this:
U+0183 LATIN SMALL LETTER B WITH TOPBAR
General Character Properties
In Unicode since: 1.1
Unicode category: Letter, Lowercase
Various Useful…

Max Frai
- 61,946
- 78
- 197
- 306
1
vote
3 answers
how to change all chars in string with numbers in C#?
i want to change chars with numbers, for example: a with 1, b with 2... z with 26. so the string "hello" will be something like this: 82491513621. the first question is: how to do this with easiest way, and the second: how to do this with SWITCH…

samuraisxmali
- 103
- 3
- 11
1
vote
4 answers
Array sort by value number chars
Hi thinking i have an array like this :
[0]=>[
[0]=>'Hey',
[1]=>'H',
[2]=>'He',
]
now i would like to sort by number chars and return somenthing like this:
[0]=>[
[0]=>'H',
[1]=>'He',
[2]=>'Hey',
]
maybe the answer is…

itsme
- 48,972
- 96
- 224
- 345
1
vote
2 answers
Curious trigraph sequence thing about ansi C
What was is it the original reason to use trigraph sequence of some chars to become other chars in ansi C like:
??=define arraycheck(a, b) a??(b??) ??!??! b??(a??)
becomes
#define arraycheck(a, b) a[b] || b[a]

edgarmtze
- 24,683
- 80
- 235
- 386
1
vote
1 answer
Own Android hardware keyboard shortcuts
I want to make own shortcuts to use with hardware keyboard on android phones like Milestone/Droid, T-Mobile G1/HTC Dream and T-Mobile G2/Desire Z.
It will be cool to have alt+e shortcut to make ę for example, without changing keyboard. (It's my…

Fazz
- 11
- 1
1
vote
3 answers
Newline character insertion in Java
How can I insert a newline character in a Java applet program if I am using "label" instead of System.out.println()?
Thanks in advance.
harsha
1
vote
1 answer
Advice on solving UD in low level management functions
I'm fairly new to C and have started out writing a small library with functionality to get length of strings, reversing strings, converting binary data in char buffers to ints and shorts. Just for the sake of education and getting a better grasps of…

rzetterberg
- 10,146
- 4
- 44
- 54
1
vote
1 answer
Django: How do I quote and unquote special characters in the same template?
My app has a 'tags' functionality. I want to allow special characters (like '+' and '.') and, as a result, I need to escape these characters in the url:
But need them unescaped when printing inside of the "a"…

Dan
- 23
- 4
1
vote
2 answers
RewriteRule .? only for one or more chars?
On the net I found several ways of defining a RewriteRule like:
RewriteRule .? 404.php [L]
RewriteRule . 404.php [L]
RewriteRule ^ 404.php [L]
But why would these work when entering a garbage url? Because the first (.?) means that there should be…

matthijs_NL
- 11
- 2
1
vote
2 answers
Validate User Input Using Java Chars and Strings
I have seen this asked 2x, but the correct response I need has not been addressed.
In this assessment,
you will design and code a Java console application that
validates the data
entry
of a course code (like IT4782)
and
report
back if the
…

larrys
- 13
- 1
- 3
1
vote
1 answer
Any advice for reading in char arrays from text files in C?
Here's my issue I'm running into.
I'm reading in lines of text from a file, but only trying to read in lines that aren't consecutive repeats.
Here's my regular code for reading in the lines of text.
while (((ch = getc (fp)) != EOF))
{
…

jtuntalan
- 21
- 4
1
vote
9 answers
Segmentation fault when appending two chars - C++
I am trying to append two chars but for some reason I am getting a segmentation fault.
My code is like;
#include
char *one = (char*)("one");
char *two = (char*)("two");
strcat(one, two);
and I seem to be getting a segmentation fault at…

daxvena
- 1,140
- 3
- 14
- 30
1
vote
1 answer
Storing Volatile Chars in an Array
Disclaimer: I'm quite new to C and to programming in general so this question may show a lack of basic knowledge.
I'm trying to store a set of temperature readings of type 'volatile char' in an array. The temperature reading and array are declared…

Rachel Fallow
- 11
- 2