Project Links mvpmc.org   wiki

Patch: MythTV - recording's descriptions are displayed in the wrong charset in sorted view

View: New views
4 Messages — Rating Filter:   Alert me  

Patch: MythTV - recording's descriptions are displayed in the wrong charset in sorted view

by Bernhard Geier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When selecting i.e. "Show Newest First" mvpmc shows program descriptions, but in
the wrong charset. Instead of utf8 iso8859 is used. This patch fixes this.

--- gui.c.old   2009-04-20 19:34:09.000000000 +0200
+++ gui.c       2009-04-20 19:33:30.000000000 +0200
@@ -451,6 +451,7 @@
        .bg = MVPW_BLACK,
        .border = MVPW_BLACK,
        .border_size = 0,
+       .utf8 = true,
 };

 mvpw_text_attr_t display_attr = {



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel

Re: Patch: MythTV - recording's descriptions are displayed in the wrong charset in sorted view

by Michael Drons :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


What version of mythtv are you running?  

Mike



----- Original Message ----
From: Bernhard Geier <geierb@...>
To: mvpmc-devel@...
Sent: Monday, April 20, 2009 1:46:09 PM
Subject: [Mvpmc-devel] Patch: MythTV - recording's descriptions are displayed in the wrong charset in sorted view

When selecting i.e. "Show Newest First" mvpmc shows program descriptions, but in
the wrong charset. Instead of utf8 iso8859 is used. This patch fixes this.

--- gui.c.old   2009-04-20 19:34:09.000000000 +0200
+++ gui.c       2009-04-20 19:33:30.000000000 +0200
@@ -451,6 +451,7 @@
        .bg = MVPW_BLACK,
        .border = MVPW_BLACK,
        .border_size = 0,
+       .utf8 = true,
};

mvpw_text_attr_t display_attr = {



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel



     

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel

Re: Patch: MythTV - recording's descriptions are displayed in the wrong charset in sorted view

by Bernhard Geier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Drons <mdrons@...> writes:

>
>
> What version of mythtv are you running?  
>
> Mike
>

0.21.svn20080706 (Marillat's package for Debian)
Please note that the description is displayed in the right charset (utf8) when
pressing the ok button while watching a movie. It's only wrong when using one of
the sort functions in the recordings list.



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel

Re: Patch: MythTV - recording's descriptions are displayed in the wrong charset in sorted view

by Simon Hyde :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 20 Apr 2009, Bernhard Geier wrote:

> When selecting i.e. "Show Newest First" mvpmc shows program
> descriptions, but in the wrong charset. Instead of utf8 iso8859 is used.
> This patch fixes this.

Agreed. MythTV Protocol is definitely supposed to communicate in UTF8.
Just about everything else mythtv/filebrowser related seems to be in UTF8,
so i see no reason the widgets that get their attributes from
description_attr shouldn't be.


Sorry, I forgot to credit you in the commit log.

Cheers,

Simon

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mvpmc-devel mailing list
Mvpmc-devel@...
https://lists.sourceforge.net/lists/listinfo/mvpmc-devel