characters

What's the proper technical term for "high ascii" characters?

What is the technically correct way of referring to "high ascii" or "extended ascii" characters? I don't just mean the range of 128-255, but any character beyond the 0-127 scope. Often they're called diacritics, accented letters, sometimes casually referred to as "national" or non-English characters, but these names are either imprecis...

detect tab characters with javascript in IE

I want to detect and replace tab characters in a bit of HTML like this: <code> something { something else } </code Right now, I am using something like this: $(this).html(replaceAll(trim($(this).html()), "\t", "&nbsp;&nbsp;&nbsp;")); But IE, in all its cleverness, changes tab characters into spaces, and so doing the above ...

file_exists() for a file that contains (&) in filename

$filename = "Sara & I.mp3"; if (file_exists($filename)) { ... } If the filename has a "&" PHP does not return true for file_exists How can I escape "&" in the $filename for the file_exists to work? Already tried urlecode(), urlrawencode(), htmlentities(), and escaping the '&' with a backslash (\&)... no go ps. this is on a linux sy...

Can I select distinct/group by characters in a field in SQL?

I'd like to run a query which for a given field will count the instances of a particular character. For example if I had a table called 'Friends' with a 'Names' field containing rows: Edward, James, Mike. I'd get the output: A 2, D 2, E 3, I 1, and so on... ...

CKEditor: Strange Characters after ajax submit

I am using ajax to gather the CKEditor content and submit it to the server. Once I look at it after it is submitted, all the html tags < and > have been converted to their html entities. This is not what I want, as I obviously need to preserve the HTML. Is there something I did wrong? ...

SQLite and Portuguese-br characters

I'm developing an app that requires the storage of Portuguese characters. I was wondering if I need to do any configuration to prepare my SQLite db to store those considered special characters. When I query a db table that contains those characters I get a '?' (without quotes) in their place. best regards, mp ...

Can non-latin characters be used in XML tags?

Is this legal? <?xml version="1.0" encoding="UTF-8"?> <Glāžšķūņa Rūķīši="7"> </Glāžšķūņa> I know I can use all kinds of characters in the content and attribute values, but can I use them in tag names and attribute names as well? ...

CKeditor character/word count

I need to display character count and word count with the new CKeditor. I tried to search for a plugin but there are none, except few hacks for the old fckeditor. ...

WCF REST Special characters

HI How do u pass a '/' as a paramter in a wcf service rest way. e.g if the user name has the domain includes "domain/userName" thanks ...

Python: Removing characters from beginnings of sequences in fasta format

Hi, I have sequences in fasta format that contains primers of 17 bp at the beginning of the sequences. And the primers sometimes have mismatches. I therefore want to remove the first 17 chars of the sequences, except from the fasta header. The sequences look like this: > name_name_number_etc SEQUENCEFOLLOWSHERE > name_number_etc SEQUE...

Remove Characters from EOF while Writing to File in Matlab

In Matlab, after creating a certain number of lines and printing them to a file, I have the need to delete a line and rewrite the rest of the data to that same file. When I do so, the new data overwrites the previous data, but since the data is shorter than the original, there are still remnants of the original data. Does anyone have a...

Which command in VBA can count the number of characters in a string variable?

Let's say I have this variable: word = "habit" which command in VBA will allow me to count how many characters are there in this variable (in my case it's 5). Important: the variable "word" contains only one word, no spaces, but may have contain numbers and hyphens. ...

Is there an easy way to get characters from the keyboard without hitting enter in Java?

I'd like to know if there is an easy way to get character input from a JTextField in Java as they happen, not after an enter keystroke. In my case I want the characters (text) to be read in, and when the enter key is hit, do something with the characters already collected. ...

loading data from a flat file to table using informatica, having both english and foreign language characters like chinese

I am loading data from a flat file to table using informatica, the file has both english and foreign language characters like chinese, and others. The foreign language characters are not getting displayed properly after loading. How can this problem be solved ? I could solve it by using code page UTF - 16 Encoding of Unicode Platform End...

Is there a name / set for characters that can be typed using a standard english keyboard?

Is there a name / set for characters that can be typed using a standard english keyboard? ...

Question mark in JavaScript

I came across the following line in a JS function (it was an RGB to HSB color converter, if you must know) hsb.s = max != 0 ? 255 * delta / max : 0; I'm wondering if someone can explain what the "?" and the ":" mean in this context. ...

Replace all Special Characters in a string IN C#

Hi, I would like to find all special characters in a string and replace with a Hyphen (-) I am using the below code string content = "foo,bar,(regular expression replace) 123"; string pattern = "[^a-zA-Z]"; //regex pattern string result = System.Text.RegularExpressions.Regex.Replace(content,pattern, "-"); OutPut foo-bar--...

Oracle SQL load table columns having special characters

I am loading / inserting data into oracle table , in case of special characters like chinese language characters, i am getting an error like row rejected because maximum size of column was exceeded, i am not getting this error for rows which have english characters which appear to be of same length for same column. I am using SUBSTR and ...

Detect chinese (multibyte) character in a string in a column in oracle database

how can i detect that a column in oracle database has chinese (multibyte) characters in it. ...

Unwanted escape characters in string

App.Config file contents: <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="ConnectionString" value="Server=ADVDSQLMGA;User ID=ImporterApp;Password=!mp0rt3rApp;Database=id0405Moxy52" /> <add key="DTS_PackageName" value="BlockImportNEW"/> <add key="DTS_PackagePat...