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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:59:37+00:00 2026-06-17T05:59:37+00:00

I need urgent help. I can’t compare charset strings. A string written to a

  • 0

I need urgent help. I can’t compare charset strings. A string written to a database table1 is utf-8 charset but looks still strange: SADI
However a string written to table2 in the same database is SADI which is normal.
whenever I compare both, it gives false.

  1. Any idea how comparison can be made? (actually comparison should give true result)

  2. Any idea how I can insert SADI as SADI to a database.

Either will be a solution hopefully.

  • 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-06-17T05:59:38+00:00Added an answer on June 17, 2026 at 5:59 am

    In your strings, SADI is standard ASCII string, but SADI is using full-width Unicode characters.

    For example, S is U+FF33 ‘FULLWIDTH LATIN CAPITAL LETTER S’ (UTF-8: 0xEF 0xBC 0xB3),

    but S is standard ASCII U+0053 ‘LATIN CAPITAL LETTER S’ (UTF-8 0x53).

    Other characters are also similar extended Unicode characters, which look like standard Latin script, but in reality are not.

    How did they get there – that’s a good question. Probably somebody got really creative and copy-pasted something from Word? Who knows.

    You can convert these strange characters back to normal ones by applying Unicode NFKC (Unicode Normalization Form KC) by using this Perl script as a filter (it accepts UTF-8 and outputs normalized UTF-8):

    use Unicode::Normalize;
    binmode STDIN,  ':utf8';
    binmode STDOUT, ':utf8';
    while(<>) { print NFKC($_); }
    

    In php:

    $result = Normalizer::normalize( $str, Normalizer::FORM_KC );
    

    Requires the intl extension

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

Sidebar

Related Questions

I am in need of urgent help. I have an application that was working
Need a little help with string formatting... I have a string like this: Bmw
I know this question has already been asked but I am in urgent need
I need urgent help, after googling a lot since last 3-4 weeks. I only
Need urgent help on thread: the goal here is the separtemask will take each
I need urgent help in this regard. I am trying to run a Python
This is not an urgent need but more of a curiosity I have had
I'm in urgent need of an Objective-C/Cocoa/Cocoa Touch framework to handle simple charting; pie
Need some regular expressions help. So far I have my code working to allow
Need help, function getFamily() { FB.api('/me/family', function(response) { alert(JSON.stringify(response)); }); } With the above

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.