GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    daniel:// stenberg:// (bagder@mastodon.social)'s status on Thursday, 16-Oct-2025 11:36:45 JST daniel:// stenberg:// daniel:// stenberg://

    On this day seventeen years ago I learned something about locales and Turkish that has scarred me for life: I is not always uppercase i!

    https://daniel.haxx.se/blog/2008/10/15/strcasecmp-in-turkish/

    In conversation about 21 hours ago from mastodon.social permalink
    • Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Wolf480pl (wolf480pl@mstdn.io)'s status on Thursday, 16-Oct-2025 11:38:12 JST Wolf480pl Wolf480pl
      in reply to

      @bagder
      couldn't you just temporarly set the locale to POSIX, do the comparison, and then set it ba... oh, wait, threads exist and libc's locale is a global per-process state :(

      In conversation about 21 hours ago permalink
    • Embed this notice
      Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Thursday, 16-Oct-2025 11:38:12 JST Haelwenn /элвэн/ :triskell: Haelwenn /элвэн/ :triskell:
      in reply to
      • Wolf480pl
      @wolf480pl @bagder best would probably be strcasecmp_l() which has been in posix since… oh wow 2008 too.
      In conversation about 21 hours ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.