Menu

#81 Exporting files with norwegian wovels messes up file names

1.0
open
nobody
None
2025-11-04
2025-11-04
No

Case: I am maintaining an autumn tournament ("høstturnering") for a club in Norway, and when I try to add new games to the PGN (usually by filtering on the tournament in ScidVsPC and exporting filtered games) and double clicking on my existing PGN in the file dialogue, ScidVsPC does not overwrite the existing PGN. Instead, it creates a new file with a garbled name, where some of the letters are replace with some double byte encoding (UTF8?).

Trying to save a game to the file "Bjørn Dæhlie vs Ådne Søndrål.pgn" becomes "Bjørn Dæhlie vs Ã…dne SøndrÃ¥l.pgn"

This is tested on 2 different computers running Windows. Mainline SCID seems to have the same problem.

Related

Tickets: #81

Discussion

  • Steven

    Steven - 2025-11-04

    Ok... Perhaps you can find any file operation (such as create a database, or any export feature) that does successfully write to a wovel (laugh! :>) file name ?
    Cheers

     
    • Morten Skarstad

      Morten Skarstad - 2025-11-04

      Is this a joke? If so, I don't get it.

      A vowel in my vocabulary is a letter that can be pronounced with an open
      mouth, without using tongue, lips or anything to shape it, as opposed to
      consonants. The english alphabet has five or six vowels (depending on who
      you ask), namely a, e, i, o, u and y. The norwegian alphabet has three
      additional vowels, æ, ø and å. These are incorrectly coded when saving
      files from ScidVsPC. I can imagine a number of letters in other languages
      faces similar problems, such as é, ä, ß, ç etc.

      tir. 4. nov. 2025 kl. 09:18 skrev Steven stevenaaus@users.sourceforge.net:

      Ok... Perhaps you can find any file operation (such as create a database,
      or any export feature) that does successfully write to a wovel (laugh!
      :>) file name ?
      Cheers


      [tickets:#81] https://sourceforge.net/p/scidvspc/tickets/81/ Exporting
      files with norwegian wovels messes up file names

      Status: open
      Milestone: 1.0
      Created: Tue Nov 04, 2025 07:41 AM UTC by Morten Skarstad
      Last Updated: Tue Nov 04, 2025 07:41 AM UTC
      Owner: nobody

      Case: I am maintaining an autumn tournament ("høstturnering") for a club
      in Norway, and when I try to add new games to the PGN (usually by filtering
      on the tournament in ScidVsPC and exporting filtered games) and double
      clicking on my existing PGN in the file dialogue, ScidVsPC does not
      overwrite the existing PGN. Instead, it creates a new file with a garbled
      name, where some of the letters are replace with some double byte encoding
      (UTF8?).

      Trying to save a game to the file "Bjørn Dæhlie vs Ådne Søndrål.pgn"
      becomes "Bjørn Dæhlie vs Ådne Søndrål.pgn"

      This is tested on 2 different computers running Windows. Mainline SCID
      seems to have the same problem.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/scidvspc/tickets/81/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      -- Mvh/br Morten

       

      Related

      Tickets: #81

  • Steven

    Steven - 2025-11-04

    Can find any file operation (such as create a database, or any export feature) that does successfully write to such a filename ?

    If so, i can identify/debug or possibly modify the pgn write routine.

     
  • Steven

    Steven - 2025-11-04

    Ok, i see Fulvio has fixed it on Scid.
    Maybe someone can port this (preferably without the C++20 - isms.
    I can't test it on my system , for some reason there is no bug here.
    -rw-rw-r-- 1 steve 817 Nov 4 21:46 Bjørn Dæhlie vs Ådne Søndrål.pgn

     

Log in to post a comment.