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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:01:41+00:00 2026-05-27T04:01:41+00:00

For combining diacritics, are they counted as letters? Since, as far as I know,

  • 0

For combining diacritics, are they counted as letters? Since, as far as I know, they can only combine with other letters in well-formed Unicode.

The ICU function to determine if a Unicode codepoint is a letter only takes one codepoint, so for any given codepoint, it can’t know if they’ve been combined with a diacritic- or if it’s a diacritic, what it’s been combined with. I’m trying to implement something akin to a Unicode-aware regex, using a construct like

while(is_letter(codepoint))

However, I’m quite concerned about what’s going to happen if codepoint is actually a diacritic, which would be collated with a previous codepoint, and other collating marks.

Is this safe to do? Or will I have to explicitly find and ignore diacritics and other collating marks?

Edit: What I really need to do is iterate characters, not codepoints.

This question is a victim of the XY problem. I need to raise a question about my actual problem.

  • 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-27T04:01:42+00:00Added an answer on May 27, 2026 at 4:01 am

    I’m not totally clear on what you’re trying to do, so I apologize in advance if this isn’t the answer you’re looking for, but:

    For combining diacritics, are they counted as letters?

    Broadly speaking, diacritics are counted as “marks” rather than “letters”. For example, U+0301 COMBINING ACUTE ACCENT, as in <ś>, is a “nonspacing mark”, which is one of three kinds of “mark”. However, the “modifier letters”, which are counted as “letters”, might nonetheless be thought of as diacritics; for example, U+02C0 MODIFIER LETTER GLOTTAL STOP, as in <sˀ>, is a “modifier letter”.

    If you look through the main file of the Unicode Character Database (warning: it’s 1.3 MB text-file), you can get a sense for which characters are classified as “modifier letters” (Lm) and which as “nonspacing marks” (Mn) or “spacing marks” (Ms) or “enclosing marks” (Me).

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

Sidebar

Related Questions

Is anyone aware of a way to add diacritics from different unicode blocks to
how can i write a select query by combining IN and LIKE i have
Does combining an Enterprise Messaging solution with Web Services result in a real performance
Any tips on combining multiple .js files into 1 (for a build process). Will
I've just started combining my knowledge of C++ classes and dynamic arrays. I was
I'm having trouble combining a url query parameter rewrite (fancy-url) with a .htaccess ssl
The ASP.NET team released the script combining feature in 3.5 SP1 as detailed here
We're having a problem combining 'nested files' and excluding files from source control. We're
Is there any gain to combining all of the classes for a project into
Why is the order of tables important when combining an outer & an inner

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.