Bug 2565 - Getting strings broken, pygame for example.
Status: CLOSED LATER
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: All Linux
: P2 normal
Assignee: Mikachu
QA Contact:
URL:
Depends on:
Blocks: 2582
 
Reported: 2006-01-03 06:33 EST by Mikachu
Modified: 2007-03-18 12:31:07 EDT
0 users

See Also:



Description Mikachu 2006-01-03 06:33:59 EST
This doesn't work,

import pygame
pygame.display.init()
pygame.display.set_mode((400,100))
pygame.display.set_caption('TTM') #!!!
raw_input()

pygame sets WM_NAME(UTF8_STRING) = "TTM" but openbox assumes all WM_NAME are iso-8859-1. relevant sections in the icccm are
http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.1
http://tronche.com/gui/x/icccm/sec-2.html#s-2.7.1
Comment 1 Mikachu 2006-08-01 16:09:35 EDT
apparently pygame now sets WM_NAME as a STRING like everyone else...
Comment 2 Mikachu 2006-08-16 12:19:28 EDT
modified tests/title.c to allow setting of this combo
Comment 3 Mikachu 2006-08-16 12:49:36 EDT
not a nice solution, but the best i can do.