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 4122382
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:28:27+00:00 2026-05-20T23:28:27+00:00

I am working on a little website for my mother in php, using mysql.

  • 0

I am working on a little website for my mother in php, using mysql.
I want to use the inserted cities to spit out Google Maps.

Problem is that if you insert a city with a Swedish name, such as Norrköping, Google won’t give you a map. You have to insert “Norrkoping” without the umlauts.

Is there a way I can change the charset with getting the info, or inputting it, so the dots are removed?

Same thing får Åå (store as Aa) and Ää (store as Aa).

Thanks!

  • 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-20T23:28:27+00:00Added an answer on May 20, 2026 at 11:28 pm

    Why not something like this?

    $s = array('Å', 'å', 'Ö', 'ö');
    $r = array('A', 'a', 'O', 'o');
    $name = str_replace($s, $r, $name);
    

    Translating “svensk-o” to “a” is not really all that much correct, I guess… but it’s what you need to make it work, right? You would of course need to add a few more characters if Nürnberg or Crécy are supposed to be un-accented too, but the number of umlauts is very limited, luckily… 🙂

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

Sidebar

Related Questions

I want to do a little animation on this latest website ii'm working on.
I am working on a Joomla 1.5 website and a little self-contained php application,
I'm working on a website where we want a little Twitter logo in the
I'm working on a little program to make my life easier when using Microsoft
I'm working on a little something and I am trying to figure out whether
I'm currently working on this website (http://www.jowannes.com/thomasschoof/flash/LauraBarsby.html) and I created a little gallery. When
I'm working on this website, and have a little thorn in my side. When
I'm working on a little html/css framework that I can use for most of
I've been working on a website for a little while now, doing most of
I am working on my first PHP based website, and I was wondering what

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.