uppercase

Python: How to check if a unicode string contains a cased character?

Hi! I'm doing a filter wherein I check if a unicode (utf-8 encoding) string contains no uppercase characters (in all languages). It's fine with me if the string doesn't contain any cased character at all. For example: 'Hello!' will not pass the filter, but "!" should pass the filter, since "!" is not a cased character. I planned to u...

What is the standard algorithm for converting unicode characters into lowercase?

I want to know the standard algorithm for converting unicode characters into lowercase as proposed by unicode.org. Also, do most programming languages follow this proposed standard? ...

Use lower-case constants for false, true, null in NetBeans

There is any way to set them in auto completion code in lowercase? Automatically they appear in UPPERCASE, I know that constants are defined in UPPERCASE but I prefer lowercase for them. ...

How i can translate uppercase to lowercase letters in a rewrite rule in nginx web server?

I need to translate the address: www.example.com/TEST in ---> www.example.com/test ...

PHP: replace characters and make exceptions (preg_replace)

How do I: replace characters in a word using preg_replace() but make an exception if they are part of a certain word. replace an uppercase character with an uppercase replacement even if the replacement is lowercase and vice versa. example: $string = 'Newton, Einstein and Edison. end'; echo preg_replace('/n/i', '<b>n</b>', $st...

using xsl to combine two sentences from xml, outputting as html

can I change the first letter of the second sentence to lowercase using the XSL template? Or is there a way to change the first letter of the second sentence to lower case in HTML (first-letter pseudo code DOES NOT work since it can only be the subject of the selector). i.e: In XLM: "Name", "*R*eturns the something of the something." ...

CSS: text-transform not working properly for Turkish characters

Hi StackOverflow, The implementations of the major browsers seem to have problems with text-transform: uppercase with Turkish characters. As far as I know (I'm not Turkish.) there are four different i characters: ı i I İ where the last two are the uppercase representations of the former two. However applying text-transform:uppercase to...

Does it make a difference to declare a logger in all uppercase and make it final?

Is there any reason to do this: private static final Logger LOGGER = LoggerFactory.getLogger(Main.class); instead of this? private static Logger logger = LoggerFactory.getLogger(Main.class); I don't undertstand what the syntactical benefit is of one over the other. Both seem to work fine. ...

HaXe -- compare two strings ignoring case?

I'm working on a string-to-bool parsing function for HaXe (somehow the devs got by until now without one >.<) and i figured the best way to check the string would be ignoring case. I'm not sure how to do that though, can someone help me? ...

WPF: Combobox with forced uppercase?

I'm not sure why, but none of the solutions are working properly for me from a similar question. I realize that a TextBox has a property (CharacterCasing) which can be set to Upper to change any lowercase typing into uppercase. It works so great because the user is never interrupted while typing, caps lock and shift don't affect it nega...

Zend_Form: Uppercase in textfield.

I want to create a textfield element in Zend Form which always type in uppercase whether CapsLock is On or Off. Thanks ...

Grails: How to make everything I create Upper Case?

Hello, I am currently using CSS to change everything I write to upperCase when I create an entry, but that is not enough. When I save things, the text shown in the text fields is upper case, but the real value that Grails stores stays in lower case. I am assuming I'd need to change something in the controller or anything. Maybe transf...

Convert string from lowercase to uppercase and removeing special charaters from a string using C#

Hi..all I am developing a login form with User ID. I want the user to create the userid in a specified format. I need a method using C# to convert all lowercase letters to uppercase. The userid will be in the following fomat. The format is: xyz\t4z4567 (characters are not case sensitive) Rules: 1.Only special character \ is allowed w...