Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c998f3651866f173564bbb2fd58f2c6bbe5159a578fa1e6134f18ae7b337fa2e
Ticket: 43b065660532eb4a3678e70e9d68daf1b09810ac
MS Windows: files with emojis are found by glob but not recognized by file exists or open
User & Date: oehhar on 2023-09-09 12:15:00
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Ref: Thread on clt titled: "Problem with filenames that include emoji characters"
    
    Issue:
    Files with Emojis are found by glob but may not be opened and "file exists" return 0.
    Platform: Windows only
    
    To reproduce:
    
       *   Open windows explorer. Create an empty folder "C:\test". Right clic->New->Text file. Name the file as follows: "NEXT SAT. 2_15_ FADED LOVERS TOUR in PROVIDENCE! 💕💞💕.eml"
       *   open wish 8.6.13
       *   do the following commands:
    
    <verbatim>
    % cd c:/test
    % set l [glob *]
    {NEXT SAT. 2_15_ FADED LOVERS TOUR in PROVIDENCE! 💕💞💕.eml}
    % set f [lindex $l 0]
    NEXT SAT. 2_15_ FADED LOVERS TOUR in PROVIDENCE! 💕💞💕.eml
    % file exists $f
    0
    % open $f r
    couldn't open "NEXT SAT. 2_15_ FADED LOVERS TOUR in PROVIDENCE! 💕💞💕.eml": filename is invalid on this platform
    </verbatim>
    
    System:
       *   MS WIndows 10 64 bit GER
       *   TCL/Tk 8.6.13 self compiled with MS-VC6, 32 bit
    
    Thank you all!
    Harald
    
  5. foundin changed to: "8.6.13"
  6. is_private changed to: "0"
  7. login: "oehhar"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "oehhar"
  14. subsystem changed to: "37. File System"
  15. title changed to:
    MS Windows: files with emojis are found by glob but not recognized by file exists or open
    
  16. type changed to: "Bug"