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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:40:55+00:00 2026-05-23T23:40:55+00:00

I have a SQLite database with a word list. In a table there is

  • 0

I have a SQLite database with a word list. In a table there is a word list that includes the word “você”. This word has this representation in unicode “voc\U00ea”.

I’ve found out that the same word can have the following representation with the same visual output:

"voc\U00ea",
"voce\U0302"

When I query my db using the second representation it returns blank. Does anyone know a way for the query work using both representations without duplicating the records in the table?

Thanks,
Miguel

  • 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-23T23:40:56+00:00Added an answer on May 23, 2026 at 11:40 pm

    These two forms are known as nfc(normal form composed) and nfd(“normal form decomposed”). The letter \U0302 is known as a “combining circumflex”, which modifies a preceding letter.

    To cope with this situation, do the following:

    1. Pick a normalization. Usually choosing nfc is a good idea. (Although iOS/OS X file system uses nfd.)
    2. Before putting a string into the database, always normalize. In iOS, you can use precomposedStringWithCanonicalMapping or precomosedStringWithCompatibilityMapping. To understand the difference between canonical and compatibility mappings, see this description.
    3. Before performing a query, always normalize the query to the same normal form.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database file that is generated on a PC using Sqlite. This
I have an app which communicates to webserver. This webserver has SQLite database on
I have an SQLite table that contains a BLOB I need to do a
I have a sqlite (v3) table with this column definition: timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
Currently I have an application that takes information from a SQLite database and puts
I have a 100 megabytes SQLite database file that I would like to load
I have an sqlite database with over 400k records. I have just found that
I have a sqlite database with a table full of geographic locations, each stored
I have SQLite Database(DB) and made this to model class and taken the data
I have an sqlite database with a config table with 3 rows: id, config

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.