I run a quiz-like website at slagalica.tv (content is not in English). We often have users that try to cheat the system, so we flag those accounts and they get special treatment. Now I'd like to add some character beside their name to be visible everywhere across the website, so that everyone knows those accounts are flagged.
I'm curren...
I have a table called Field in my SQL Server database. The table has a field called "Units".
I have a batch script which inserts a lot of things into here using OSQL and one of the things entered is the pound sign (£). When OSQL runs the queries, it converts the £ sign to -ú instead.
What I need to have is a separate batch file which ...
Several times I see ^L in (mostly Emacs Lisp) source codes that looks like are separators of larger logical groups. Is it their real purpose? And if so, how can I use them? Is there a built-in Emacs functionality that utilize it?
...
I'm editing a network protocol frame stored a file in Unix (\n newlines). I need to insert the carriage return character (U+000D aka \r). When I try to paste it from the clipboard ("+p) or type it using Ctrl+Shift+u-000d, the linefeed is inserted (U+000A).
What is the right way to do it?
...
In Ruby, a standard convention is to use a question mark at the end of a method name to indicate the method returns a boolean result:
[].empty? #=> true
Another standard convention is to end a method name with an exclamation point if the method is destructive (that is, it modifies the original data):
mylist.sort! # sort mylist in-p...
Hi,
Does any one know how to display the copyright icon in UILabel text? This is the icon with a circle around c. The html code for it is: © or ©.
I tried the following code:
UILabel *contactInfo = [[UILabel alloc] initWithFrame:CGRectMake(-55,135,420,100)];
contactInfo.text = @"'©):'2009 Nationwide ";
or
contactInfo....
I'm creating an app for the iPhone that will hold Portuguese characters. When I query the database from within my app I get a null for the field that contains a special character.
Do I have to do something in special during the initial insertion of those records into the database?
thanks,
foreignerbr
...
Hi,
How to replace special characters using regular expressions?
By special, what I mean is those symbolic characters that appear sometimes in text.
For example, in text below, I want to remove the bubble which is at the start of each line.
Passport Details
Name as on passport
Relationship
Passport Number
Date of Issue
Expiry Date
Pl...
We call an API that returns a string of XML-formatted data. We'd like to convert this string into a ColdFusion XML object, via XMLParse(). A problem occurs when special characters show up in the data values. For example, characters like this:
— –
(yes, the raw data contains them in their HTML encoded equivalent). Whe...
My MySQL database can store the euro symbol just fine (as I have tested with a native MySQL client (HeidiSQL)). But with the MySQL .NET connector my ASP.NET application is using I can't insert nor read it back from the database: I only get a ? character back. What could be the possible cause?
...
im' trying to make a file based article system and i want the folders to be my categories and files inside it to be the actual articles. But sometimes i need some special characters in my folder/file name(\/:*?",and actually i'm interested just in double quotes and question mark). Is there a way to do the trick...something like & is ...
Hello *,
I currently use the \textnumero sign in my LaTeX document. Therefore, I need to include the 'textcomp' package. When doing so I get a compiler error stating:
! Package textcomp Error: Symbol \texnumero not provided by
(textcomp) font family ptm in TS1 encoding.
(textcomp) Default family...
Hi
I want to creat a regular expression for strings which uses special characters '[' and ']'.
Value is "[action]".
Expression I am using is "[\\[[\\x00-\\x7F]+\\]]".
I tried doing it by adding "\\"before '[' and ']'.
But it doesn't work.
Can any one help me with this.
thanks
-devSunday
...
I'm trying to find the best way to put circumflex accents ( = ˆ) on top of numbers (a musical notation) without resorting to images. Certain letters have equivalent HTML entities: = ê, = Ô, etc., but numbers don't.
Here is what I'm currently using on my website:
<span style="position:relative;">1
<span style="p...
return mystring.replace(/&/g, "&").replace(/>/g, ">")
.replace(/</g, "<").replace(/"/g, """);
The above is my code, and I guess since it tracks the string 4 times, it makes it slower. Is there any other way (method prefered) to replace those special characters in only one loop? Well I can do it with a for loop an...
The following java code does exactly what is expected:
1 String s = "♪♬♪♪♬♪♪♬♪♪♬♪♪♬♪♪♬♪";
2 for(int i=0; i < s.length(); i++)
3 {
4 System.out.print(s.substring(i,i+1));
5 //System.out.print("\r");
6 Thread.currentThread().sleep(500);
7 }
But when I try to add carriage return by commenting i...
This is what i have now:
$("input").bind("keydown",function(e){
var value = this.value + String.fromCharCode(e.keyCode);
}
If the e.keyCode may not be an ASCII character (alt, backspace, del, arrows, etc)...
I would now need to "trim" these values from "value" somehow (preferably programmatically - not with lookup tables)
I'm us...
How do you check a string if there is a special character like: [,],{,},{,),*,|,:,>,etc.?
...
Hi, I have some source code files which came to me by an HTML output, so they're pretty unusable.
I have things like this:
%include "macros.mac"
Which should be:
%include "macros.mac"
Is there any script (sh, perl, batch, ...) to convert every file (there are about 200) to the appropriate characters? Characters include &...
Can somebody provide some best practices when storing special characters such as the trademark (tm or r) or copyright (c)? I am storing them in a varchar field with other text in SQL Server, and displaying on an ASP.NET webpage. Right now we are storing the special character itself and displaying that.
Thanks for any help!
...