[PD-dev] [ pure-data-Bugs-2073844 ] zexy announce message charset confusion

SourceForge.net noreply at sourceforge.net
Thu Sep 4 10:00:02 CEST 2008


Bugs item #2073844, was opened at 2008-08-25 17:34
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2073844&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: None
Status: Open
Resolution: Fixed
>Priority: 1
Private: No
Submitted By: ClaudiusMaximus (claudiusmaximus)
Assigned to: IOhannes m zmlnig (zmoelnig)
Summary: zexy announce message charset confusion

Initial Comment:
$ pd -stderr -verbose -lib zexy
tried /usr/lib/pd/extra/zexy/zexy.pd_linux and succeeded

        
         the zexy external  2.2.1 
         (l)  forum::f::umlte 
          compiled:  Jun 17 2008  
         send me a 'help' message 
        

$ echo $LANG
en_GB.UTF-8

Without -stderr, TCL/Tk (version 8.5) or Pd's console gets really confused and displays a big empty space with invisible text that shows up only when carefully selected...


other externals may be affected by this issue too...


----------------------------------------------------------------------

>Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2008-09-04 10:00

Message:
Logged In: YES 
user_id=564396
Originator: NO

hmm, i have to find a solution in order to make it display _something_ and
at the same time preserve the fun of vanishing (single) characters...

----------------------------------------------------------------------

Comment By: ClaudiusMaximus (claudiusmaximus)
Date: 2008-09-03 22:25

Message:
Logged In: YES 
user_id=769033
Originator: YES

Still not quite fixed... see screenshot
and highlights with * in the below:

bytes in UTF-8 encoding fall in distinct ranges:
   00..7F - plain old ASCII
   80..BF - non-initial bytes of multibyte code
** C2..FD - initial bytes of multibyte code (C0, C1 are not legal!)
   FE, FF - never used (so, free for byte-order marks).

$ head -n 144 src/zexy.c | tail -n 1 | hexdump -C
00000000  20 20 70 6f 73 74 28 22  5c 74 25 63 20 28 6c 29  |  post("\t%c
(l)|
00000010  20 20 66 6f 72 75 6d 3a  3a 66*fc*72 3a 3a 75 6d  | 
forum::f.r::um|
00000020  6c*e4*75 74 65 20 25 63  22 2c 20 48 45 41 52 54  |l.ute %c",
HEART|
00000030  53 59 4d 42 4f 4c 2c 20  48 45 41 52 54 53 59 4d  |SYMBOL,
HEARTSYM|
00000040  42 4f 4c 29 3b 0a                                 |BOL);.|
00000046


File Added: zexy-message-closer-to-perfection.png

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2008-09-02 15:05

Message:
Logged In: YES 
user_id=564396
Originator: NO

should be fixed in zexy-2.2.3 (just checked it into svn)

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-08-27 03:17

Message:
Logged In: NO 

oh i see, i guess i will have to fix it then...
mfgads
IOhannes

----------------------------------------------------------------------

Comment By: ClaudiusMaximus (claudiusmaximus)
Date: 2008-08-26 11:56

Message:
Logged In: YES 
user_id=769033
Originator: YES

see attached screenshot of "pd -lib zexy"

doesn't seem to cause any non-cosmetic issues though

File Added: pd-tk-8.5-zexy-invisible.png

----------------------------------------------------------------------

Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2008-08-26 03:32

Message:
Logged In: YES 
user_id=564396
Originator: NO

this is (somewhat) by intention.
does it make any problems (apart from being "unpretty")?

as long as "zexy $(VERSION) and something indicating "copyleft <me>" is
displayed, i will not fix it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2073844&group_id=55736




More information about the Pd-dev mailing list