|
-
October 17th, 2023, 04:35 AM
#3
Re: JavaScript String Transformation: Converting Text to Uppercase
Sorry, I'm a bit late to the party..
Interesting question.
The accented e/E will not become uppercase as it is a Unicode character and not a standard character.
I will not go into much detail on Unicode characters as I will write pages and pages worth.
Luckily HTML has a way of identifying special characters such as the accented e/E.
The HTML code for the accented E would be: É whereas the HTML code for the accented e would be: é - See the difference?
So, I'd advise to first try to identify the correct symbol through JavaScript then convert it to the smaller version. But, I'd determine the special symbol first through the charCodeAt() method prior to doing any further string manipulation
Best I'd advise you to do is to try and make use of the character's built in
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|