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

  • SEARCH
  • Home
  • 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 762799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:27:10+00:00 2026-05-14T16:27:10+00:00

i would like to generate strict alphanumeric character logins from users’ first and lastname.

  • 0

i would like to generate strict alphanumeric character logins from users’ first and lastname. Since many of them are foreigners, their names have special characters (é, è, ï, …). I would like to remove the accents (e,e,i,…) in the logins.

Here is my query. Is there a character set that does not contain accents?

UPDATE contacts SET login=CONVERT(LOWER(CONCAT(firstname,'.',lastname)) USING utf8);
  • 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-14T16:27:11+00:00Added an answer on May 14, 2026 at 4:27 pm

    Well, as a French computer scientist (with an accent in his name), I would strongly advocate against such a conversion.

    Why, well, because this strategy is just replacing a wrong assumption with another wrong assumption. Let me explain myself:

    We could see the fact that only us-ascii are allowed in login id as an incorrect assumption that “all user names can be written in ascii”.

    Trying to remove accents from users name is just replacing the assumption by “all user names can be converted to ascii”.

    That is also incorrect: It will work for me (as a European – Latin 1 proof named person), but how will you compute the name of 三島 ? or the one of Сахаров ?

    I know my answer is non technical, but you should do whatever is necessary to allow non ascii chars in logins. Or, you should allow your users to choose this login.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the Ogre3D engine (C++), I would like to generate a mesh from a
I would like to generate Eclipse Java Project with my Java program. When I
I would like to generate HTML Snapshots using Watir , hosted on Heroku .
Using com.sun.codemodel , I would like to generate a generic LinkedList field. I can
I would like to put a GSList inside a GHashTable , here is how
I would like to be able to dynamically insert a div at the end
This issue stems from an accounting package that spits out text-based reports with rows
I've the following situation: module type M = sig type s = ... end
I have a Windows program which generates forms. It takes the Top/Left properties at
Normally I write a class and add XML Serialization to it for my web

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.