Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0a38c8a70fcfa5bcbff7cc984ef15add000c04a2
Ticket: 625080ffffffffffffffffffffffffffffffffff
convert bug at menubar Tk 8.4.0 OSX
User & Date: schoepe on 2002-10-18 07:09:17
Changes

  1. assignee changed to: "das"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I found an error converting ISO 8859-1 (Western Europe Latin-1) 
    characters at the menubar.
    The menubar displays 2 chars for each 8-bit-char.
    Menu items and tk_messagebox are working correct.
    
    alex :-)
    
    # ISO 8859-1 A-umlaut O-umlaut U-umlaut a-umlaut o-umlaut u-
    umlaut sharp-s
    set text [binary format c* {73 83 79 32 56 56 53 57 45 49 32 -60 -
    42 -36 -28 -10 -4 -33}]
    
    set mb .menubar
    menu $mb
    . config -menu $mb
    
    set mc $mb.iso8859_1
    $mb add cascade -label $text -menu $mc -underline 0
    menu $mc -tearoff 0
    
    $mc add command -label $text -command {tk_messageBox -
    message $text}
    
    
  4. foundin changed to: "obsolete: 8.4.0"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "schoepe"
  9. subsystem changed to: "68. Mac Classic (obsolete)"
  10. title changed to: "convert bug at menubar Tk 8.4.0 OSX"
  11. type changed to: "Bug"