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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:40:36+00:00 2026-05-15T08:40:36+00:00

I am preparing a simple dictionary project and I have prepared it to search

  • 0

I am preparing a simple dictionary project and I have prepared it to search in 2 languages. Still, as one of them is using Cyrillic letters, I have to be able to check in the database, even if the word is written in Latin letters. What do I mean

in Cyrillic: кон

in Latin: kon

Both should give the description of the word (in this case “horse”). I have been thinking of using two structures with two alphabets in order to achieve this….Still somehow I cannot get it. Does some of you have experience in a similar situation? If yes – please share an advice or code-sample.

  • 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-15T08:40:37+00:00Added an answer on May 15, 2026 at 8:40 am

    A Dictionary should be suitable for mapping cyrillic characters to latin ones. I’ll assume you’re going to follow http://en.wikipedia.org/wiki/ISO_9 to map them.

    public class ISO9TransliterationProvider {
        private readonly Dictionary<Char, Char> charMapping = new Dictionary<char,char>() {
            { 'А', 'A' }, 
            { 'Б', 'B' } 
            //etc.
        };
    
        public string ToLatin(string cyrillic) {
            StringBuilder result = new StringBuilder();
            foreach (char c in cyrillic)
                result.Append(charMapping[c]);
            return result.ToString();
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am preparing a task for computer vision class, which involves training a simple
I'm preparing for an exam and after going over some sample exercises (which have
I am preparing to develop a mapping app that places semi-transparent tiled images over
I want a simple loading bar to display while I am loading an html
The following simple preference page fails with a ClassCastException : @Override protected Control createContents(Composite
I am preparing to update a live web server from PHP 5.2.12 to 5.3.5.
I'm taking a class on Finite Automata. I'm preparing for a midterm and am
I'm using selenium-rc with C# to test my asp.net mvc2 application. Currently all I
I'm looking for the more formally correct and indipendent solution to store my data
I'm extending the SQLiteOpenHelper class to help me connect and do my database work.

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.