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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T01:09:02+00:00 2026-05-12T01:09:02+00:00

I am not sure if the is a duplicate post. But I have a

  • 0

I am not sure if the is a duplicate post. But I have a plugin (js + forms + html + php) which can be added to various sites. These sites may have different encoding say ISO-8859-1,ISO-8859-9, utf8 etc. I cannot control their encoding of the html or anything.

I am wondering what is the best way to make my php + js + html + forms + mysql support internationalization. Can my forms accept diffent encoding even if the page has a different encoding?

What are the best ways to do internationalization at these levels:
1. PHP
2. JS + HTML + FORMS
3. MYSQL

Thank you for your time.

  • 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-12T01:09:03+00:00Added an answer on May 12, 2026 at 1:09 am

    Internationalization is a seemingly simple, yet very complex feature to implement. If you have a tightly coupled architecture, it will be a royal pain to implement this beast.

    A lot of internationalization will be handled on the back-end with your database – assuming that you are focusing on a data driven website. If this is the case, it will likely just lead to a few changes to your table structure and the queries performed on that data.

    For example, let’s say your website has to display a welcome message. You’d push this to the back-end into a table that can resemble something like so:

     MessageTable
        :id
        :message
        :lang_code
    

    Where lang_code is calculated from your browser. So you could have records that appear like this:

    MessageTable
    1     Hello There     en-us
    2     Hola            es-sp
    3     مرحبا           ar-sa
    

    and you would make the language code part of your sql query. Granted you could normalize this out to a greater extent, but I think you might get the idea.

    In terms of encoding, I can’t really speak much as I’m not entirely up to speed on it. In terms of form submissions, I don’t believe it should really matter much, it’s just how you handle the strings. You’d probably have to do some extra processing by looking at the encoding and deciding how to manipulate the strings, although they might be unicode.

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

Sidebar

Related Questions

Not sure if the title is quite right for the question but I can't
Not sure how to ask a followup on SO, but this is in reference
Not sure what exactly is going on here, but seems like in .NET 1.1
Not sure if anyone listened to Hanselminutes episodes 134 and 135, but at the
Not sure what's going on here. I have a DateTime object, and when I
Not sure this is a programming question, but we use LaTeX for all our
I´m not sure if this is really a programming question, but it's related to
Not sure if this is possible or if I'm expressing correctly what I'm looking
Not sure if this is intended behavior or a bug or a wrong function
Not sure exactly how to word this question ... so edits are welcomed! Anyway

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.