Coder Social home page Coder Social logo

Comments (9)

sheredom avatar sheredom commented on August 20, 2024

Thanks for your comment!

So this is my primary issue with bringing functionality like this in - I really do want to support it, I'm just scared to add some of the additional lwr/upr variants without adding them all!

You've identified the correct place in the code for where this needs to go - I'll go explore the utf8 codepoints and see if there is an easy way to do this transformation and get back to you.

from utf8.h.

giampaolo avatar giampaolo commented on August 20, 2024

Thanks for your fast reply. I understand your concern. FWIW I think utf8proc is a lib which is supposed to cover most cases.

from utf8.h.

r-lyeh avatar r-lyeh commented on August 20, 2024

Don't simplify this. It is a major issue.

Spanish will need ÁÉÍÓÚ and ÑÜ, romanian adds ĂÂÎȘȚ, hungarian adds ÖŐŰ, polish adds ĄĆĘŁŃŚŹŻ and so on (...) And yet they are all still latin languages.

from utf8.h.

sheredom avatar sheredom commented on August 20, 2024

Right - I can mostly follow the latin list here https://en.wikipedia.org/wiki/List_of_Unicode_characters#Latin_script to get at least the latin based languages working.

from utf8.h.

sheredom avatar sheredom commented on August 20, 2024

I've given this a first bash in #46 - it was more work than I expected to add the latin case support to all the utf8case functions!

Please check out the PR.

from utf8.h.

giampaolo avatar giampaolo commented on August 20, 2024

Sweet, I will check this tomorrow. Thanks a lot for working on this, I think it's a valuable improvement.

from utf8.h.

sheredom avatar sheredom commented on August 20, 2024

I've added the greek letters you requested in #47 - can you check it out?

from utf8.h.

sheredom avatar sheredom commented on August 20, 2024

@giampaolo stated that #47 handled his requirement (#47 (comment)) so I'm closing this issue!

If you have any requests in future please get in touch though!

from utf8.h.

giampaolo avatar giampaolo commented on August 20, 2024

I'm trying other languages by using (python) unit tests in which I copy articles from wikipedia.
Amongst others, Armenian, Bulgarian and Baskir languages have some issues.

from utf8.h.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.