Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-13-2012, 05:51 PM   PM User | #1
chartwise
Regular Coder

 
Join Date: Apr 2008
Location: Manchester, England
Posts: 204
Thanks: 33
Thanked 2 Times in 2 Posts
chartwise is an unknown quantity at this point
Foreign Character problem in CSS

Whenever I copy & paste a foreign word containing a foreign character it always shows this character in lower case.

Like this: PLüSCH or HäBS
It even shows like this in Dreamweaver.

The code below is supposed to make all characters uppercase.

The code I have for this is:
.title {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold; color: #B4325E;
text-align: left;
text-transform: uppercase;
height: 20px;
padding-left: 5px;
}

Could anyone please tell me how to set the style to make these characters uppercase also, like this:
PLÜSCH or HÄBS

All help much appreciated

Last edited by chartwise; 12-13-2012 at 06:03 PM..
chartwise is offline   Reply With Quote
Old 12-13-2012, 07:18 PM   PM User | #2
StevenHu
Regular Coder

 
Join Date: Jun 2011
Location: CA
Posts: 105
Thanks: 0
Thanked 10 Times in 10 Posts
StevenHu is an unknown quantity at this point
Use this site to replace each character with its proper entity. For example, if you want to display the ü symbol in uppercase, in your HTML you would put: Û like this:

<p>PL&Ucirc;SCH</p>

http://www.elizabethcastro.com/html/...ties.html#char
__________________
Steve Husting
http://iphonedevlog.wordpress.com
StevenHu is offline   Reply With Quote
Old 12-14-2012, 11:44 AM   PM User | #3
chartwise
Regular Coder

 
Join Date: Apr 2008
Location: Manchester, England
Posts: 204
Thanks: 33
Thanked 2 Times in 2 Posts
chartwise is an unknown quantity at this point
Quote:
Originally Posted by StevenHu View Post
Use this site to replace each character with its proper entity. For example, if you want to display the ü symbol in uppercase, in your HTML you would put: &Ucirc; like this:

<p>PL&Ucirc;SCH</p>

http://www.elizabethcastro.com/html/...ties.html#char
This way is going to take me hours.
If there is no easier way then I'll have to put up with what I've got.
chartwise is offline   Reply With Quote
Old 12-14-2012, 11:49 AM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,699
Thanks: 5
Thanked 875 Times in 850 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
This seems to be a problem of either your code editor or the program/file from which you copy this. Can you show us the original text file?

And if you need to use HTML entities you can do a mass search/replace with most editors. Just search for “ü” and replace it at once with “&Uuml;” (not &Ucirc; as StevenHu suggested). Takes a minute at most for all special characters.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 12-15-2012, 02:42 PM   PM User | #5
chartwise
Regular Coder

 
Join Date: Apr 2008
Location: Manchester, England
Posts: 204
Thanks: 33
Thanked 2 Times in 2 Posts
chartwise is an unknown quantity at this point
Just found that it's just in Dreamweaver CS4 and older browsers that show it this way.

From IE9 and Firefox 10 also in Chrome it looks fine.
chartwise is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:00 PM.


Advertisement
Log in to turn off these ads.