Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6353671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:27:08+00:00 2026-05-24T22:27:08+00:00

How can we entertain locale specific strings/character uppercase and lowercase manipulations in JavaScript? Like

  • 0

How can we entertain locale specific strings/character uppercase and lowercase manipulations in JavaScript?
Like for example, Java provides java.lang.Character class for locale specific manipulations and the some of the methods are as follows:

  • toUpperCase(char ch) –> converts a unicode character to uppercase

  • toLowerCase(char ch) –> converts a unicode character to lowercase

    (the language specific uppercase/lowercase is handled automatically)

Similarly,

  • isUpperCase(char ch)
  • isLowerCase(char ch)

are also available.

The coding example is as follows:

    /*This is a greek character*/
    ch='\u03B4';
    System.out.println(ch);
    System.out.println("Is Character = "+ Character.isLetter(ch));
    System.out.println("Is Digit = " + Character.isDigit(ch));
    System.out.println("Upper case = " + Character.toUpperCase(ch));
    System.out.println();

Its output is as follows:

    δ
    Is Character = true
    Is Digit = false
    Upper case = Δ

See, the uppercase character is entirely different from the lowercase character. Now, if we want this functionality in JavaScript, do we any way?

Thank you in anticipation

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T22:27:09+00:00Added an answer on May 24, 2026 at 10:27 pm

    Hmm, following works like a charm in javascript (tested in Firebug console in Firefox 6):

    ch='\u03B4'; // δ
    ch_up = ch.toUpperCase() //ch_up is now: "Δ"
    ch_down = ch_up.toLowerCase() // ch_down is now "δ"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone tell me how I can display a status message like 12 seconds
I'm designing a game where a character has many items and those items can
Can I call a java class method from inside a flash movie?
Can anyone give me an example of how to return the following json simply
Can anybody shed some light on getDay() in Javascript please. Here datepicker is textbox
I have a third-party product, a terminal emulator, which provides a DLL that can
can anyone tell me why this doesn't work? db = openOrCreateDatabase(database.db, SQLiteDatabase.CREATE_IF_NECESSARY, null); db.setLocale(Locale.getDefault());
Can we use the asterisk character * for a search action in SQL database?
Can someone explain dependency injection with a basic .NET example and provide a few
Can someone help me? I am trying to do something like the following: #include

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.