javascript - how to use uppercase method with do not allowed turkish character? -


i have following code:

<input type="text" style="text-transform: uppercase" /> 

the string gets transformed uppercase, ü example, transform Ü.
want ü transform u, e.g. gülay should become gulay.
have idea how can this?

if data comming database, suggest treat on server before send view. can use javascript if don't want happen on server.

check out answer: remove accents/diacritics in string in javascript

you use like:

var finalstring = removediacritics(initialstring).touppercase(); 

Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -