case-sensitive

Why are tags typically all lower case?

Everywhere I look I see that whenever a site implement a tags system, they convert the tags names to lowercase. Even here in StackOverflow. I was thinking about why is it so. Other than preventing duplication I can't think of a reason to use lowercase. I believe it hurts the practical aspect of the tags. People are used to read "IBM" no...

AWK - My regexp won't respect case.

I'm running Ubuntu 8.04 and my code looks like this... for (i=1;i<=n;i++) { if (arr[i] ~ /^[A-Z]{2,4}$/) printf(arr[i]) } I quickly discovered that the {n} expression won't work in gawk without the --posix switch. Once enabled the expression works but it is case-insenitive matching AAAA and aaaa. What is going on here? ...

How do I use jQuery to ignore case when selecting?

I'm currently attempting to disable a link using the following jQuery selector: $("a[href$=/sites/abcd/sectors]").removeAttr("href"); The problem is that sometimes the href might not always be lower case on the page. When this happens the selector no longer matches. Does anyone know how to get around this? Can I change the behaviour ...

EJB3 case-sensitive annotations

We are connecting to a SQL Server to persist our EJB3 objects. These objects are annotated up with @Column. If the column name in the database starts with a capital letter (E.g. OrderName) will the ejb annotation have case sensitivity issues if the element is defined like such: @Column String orderName Thanks ...

How can I do a accent insensitive search in Postgres 8.3.x with a DB in utf-8?

Tried select to_ascii('capo','LATIN1'), to_ascii('çapo','LATIN1') and the results are different.... ...

Is there a search engine that searches for the exact words you enter, exactly how you entered them?

Is there a search engine that has some of the following features? Case sensitive: "LaTeX" != "latex" Doesn't mess with punctuation in a quoted phrase: "Yes!!!" != "Yes?" Doesn't search for words that have the same stem: "fracture" != "fractured" ...

How can I do Unicode uppercase?

I have this: >>> print 'example' example >>> print 'exámple' exámple >>> print 'exámple'.upper() EXáMPLE What I need to do to print: EXÁMPLE (Where the 'a' gets its accute accent, but in uppercase.) I'm using Python 2.6. ...

JavaScript/HTML in UPPER or lower case?

Is it better for sake of compatibility/JIT-Compiling performance to use UPPER CASE or lower case, in JS/HTML? For eg: <DIV> my content </DIV> <div> my content </div> ALERT(DOCUMENT.LOCATION); alert(document.location); This is not a newbie question, I know lowercase is the de-facto standard. But since I've seen some uppercase JS+H...

How to get case-insensitive elements in XML

Hi! As far as I know XML element type names as well as attribute names are case sensitive. Is there a way or any trick to get case insensitive elements? Clarification: A grammar has been defined via XSD which is used for some clients to upload data. The users -the content generators- are creating XML files using different tools but ma...

Case sensitive Vs insensitive syntax

Can anyone make really a good case ( :-) ) for being case sensitive? C#: case sensitive VB.NET: not case sensitive C++: case sensitive ... Worse part: XML which is used inside a language like VB.NET is case sensitive. I was making the case that it is ridiculous and can only cause harm after we found a bug in our system due to the ...

MYSQL case sensitive search for utf8_bin field

I created a table and set the collation to utf8 in order to be able to add a unique index to a field. Now I need to do case insensitive searches, but when I performed some queries with the collate keyword and I got: mysql> select * from page where pageTitle="Something" Collate utf8_general_ci; ERROR 1253 (42000): COLLATION 'utf8_gener...

Does HTTP hostname case (upper/lower) matter?

In other words, does it matter whether I use http://www.example.com/ or http://wwW.exAmPLe.COm/ ? I've been running into strange issues with host-names lately: I have an Apache2.2+PHP5.1.4 webserver, accessed by all kinds of browsers. IE6 users in particular (esp. when their UA string is burdened with numerous BHOs, no pattern yet) seem...

How do you convert character case in UNIX accurately? (assuming i18N)

I'm trying to get a feel for how to manipulate characters and character sets in UNIX accurately given the existance of differing locales - and doing so without requiring special tools outside of UNIX standard items. My research has shown me the problem of the German sharp-s character: one character changes into two - and other problems....

Enumerate files with case sensitivity in VBScript?

I am using the following VBScript code snippet to enumerate all files in my c:\Scripts\ folder: strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colFiles = objWMIService. _ ExecQuery("Select * from CIM_DataFile where Path = '\\Scripts\\'") Fo...

Case conventions on element names?

Are there any formal recommendations on element casing in XML? I know XHTML uses lowercase element names (as opposed to HTML which canonically uses uppercase but is case-insensitive.) But I'm talking about XML for generic content. lowercase: <customer> <accountnumber>619</accountnumber> <name>Shelby Lake</name> </customer> c...

HTML Case Sensitive Issues

We have a site that's always been deployed on a windows server with no case sensitivity issues. However we now need to deploy to Linux and know the site has lots of incorrectly cased URL's and references. Are there any applications that could scan the site and fix casing issues? This would need to fix HTML files, CSS files and if possi...

url capitilization

In what cases does capitilization affect a url? In some cases they seem to be case-sensitive. At other times they don't seem to be case sensitive. ...

indexOf Case Sensitive?

Is the indexOf(String) method case sensitive? If so, is there a case insensitive version of it? ...

Where can I query an oracle databases' case-sensitivity?

Where can I query the current case-sensitivity setting of an oracle database? I've tried looking in v$database, nls_database_parameters, and looking through the system packages, but none of them seem to provide the information I need... ...

MYSQL case sensitive search (using hibernate) for utf8

Hi every one, I have Login Table that have utf8 charset and utf8 collation when I want check user name and retrieve other information for this specific user name the hql query give me the same result with lowercase and uppercase. what should l do for my HQL query that work case sesitive I use Mysql 5 and java hibernarte this is my que...