Menu

#2069 convert bug at menubar Tk 8.4.0 OSX

obsolete: 8.4.0
closed-fixed
5
2003-02-19
2002-10-18
No

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}

Discussion

  • Daniel A. Steffen

    Logged In: YES
    user_id=90580

    this is fixed by a recent checkin from Vince

     
  • Daniel A. Steffen

    • assigned_to: das --> vincentdarley
    • status: open --> closed-fixed