NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 550 551 552 553 554 … 1231 Next »
Bug?? Multibyte character support

 
  • 0 Vote(s) - 0 Average
Bug?? Multibyte character support
azrealhk
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Apr 2007
#1
2007-05-02, 07:49 AM (This post was last modified: 2007-05-02, 08:13 AM by azrealhk.)
I do not know where to post bugs, so I apologize beforehand.

It seems there is a problem displaying multibyte characters for filenames. I am using chinese (zh_tw) filenames and they do not display properly on the My videos / My Pictures / My Music file list.
The directory names are correct.

After some investigation, it seems that it is not a font problems (checked the skins). It may be related to the @filename and @foldername variables defined differently. folder name is fine but filename seems to be strip to 7-bits.

Edit: I am using version V0.99.12
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#2
2007-05-02, 03:33 PM
azrealhk Wrote:I do not know where to post bugs, so I apologize beforehand.

It seems there is a problem displaying multibyte characters for filenames. I am using chinese (zh_tw) filenames and they do not display properly on the My videos / My Pictures / My Music file list.
The directory names are correct.

After some investigation, it seems that it is not a font problems (checked the skins). It may be related to the @filename and @foldername variables defined differently. folder name is fine but filename seems to be strip to 7-bits.

Edit: I am using version V0.99.12

I lived in Japan for 9 years and dealt with Double-byte characters in my programs. Japanese, Chinese and Korean all work the same way...

I do not have experience with double-byte fonts in GB-PVR though, so I can offer only general advice...

It has been my experience that with English Windows, there are several available fonts. MS San Serif, Arial, Tahoma etc. These are single-byte fonts. If any program is set to use a specific font, like this, the double-bytes won't display properly.

In Japanese Windows, there is another default system font called Mincho. When I programmed for Japanese Windows, I had to specifically instructed the program to change the Character set and select the Mincho Font. I don't know the specific default double-byte font for Chinese Windows but I can't see MS doing things drastically different, considering they use the very same underlying double-byte calls and IME (Input Method Editing)...

That said, I suspect that the fonts are not correct in the skins you have been using with GB-PVR, as there are very specific references to fonts, and for the most part, the skins are written using Western fonts...

I suspect you will either need to modify an existing skin, or write one from scratch. I do not have much experience writing skins, but there are some that eat and drink the stuff. I would be happy to help you and/or them try to create a Chinese skin...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#3
2007-05-02, 04:29 PM
azrealhk Wrote:I do not know where to post bugs, so I apologize beforehand.

It seems there is a problem displaying multibyte characters for filenames. I am using chinese (zh_tw) filenames and they do not display properly on the My videos / My Pictures / My Music file list.
The directory names are correct.

After some investigation, it seems that it is not a font problems (checked the skins). It may be related to the @filename and @foldername variables defined differently. folder name is fine but filename seems to be strip to 7-bits.

Edit: I am using version V0.99.12
Someone else pointed out this a few days ago. I've now got a sample file and will look into it for the next release.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#4
2007-05-03, 12:15 AM
How Ironic that this question is posed the very same day I recognize the same limitation with my own software. I'll be asking you (sub) some questions in the dev forum...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#5
2007-05-03, 12:33 AM
zehd Wrote:I suspect you will either need to modify an existing skin, or write one from scratch. I do not have much experience writing skins, but there are some that eat and drink the stuff. I would be happy to help you and/or them try to create a Chinese skin...

I eat a bunch, drink a bunch, and .....well what do you know, I also try to help make the most user friendly/universal skin. If you find there is a font style that works best, I'll be happy to include it into the Community Skin. That is what it is there for.

I can also make some test skin files if it helps (for any skin of your choice, it doesn't have to be one I am associated with, I can support them all).

I don't understand a lick of any language other than "American" (I am told it is not English <sarcasm>) , but I can help where I can.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#6
2007-05-03, 12:39 AM
Fatman_do Wrote:I eat a bunch, drink a bunch, and .....well what do you know, I also try to help make the most user friendly/universal skin. If you find there is a font style that works best, I'll be happy to include it into the Community Skin. That is what it is there for.

I can also make some test skin files if it helps (for any skin of your choice, it doesn't have to be one I am associated with, I can support them all).

I don't understand a lick of any language other than "American" (I am told it is not English <sarcasm>) , but I can help where I can.

And it looks like it IS an internal character set issue that sub is looking into. I'm having somehting similar with ZRename... But I'm def going to help get this working...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#7
2007-05-03, 12:42 AM
If you need my assistance, PM me so I don't hold up the process. I only read about 80% of the posts lately instead of everything.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
azrealhk
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Apr 2007
#8
2007-05-03, 01:09 AM
To to clear up some matters.

I do not think it is a font problem because the skin I am using (Blue), set it as Arial for the video library page.
It draw the text for both folder and filenames using "Drawtext" function or something like that. The only difference between file and directory text is.
1: Directory draws a folder icon first.
2: filename uses @filename variable and folder uses @foldername variable.

That is why i suspect it is more an internal problem rather than code (as I mentioned that directory names are fine, only file names). It is probably more to do with the variable passed into @filename.

Anyway this is not a major problem, just annoying since every thing else seems to be display OK.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  GBPVR support for Hauppauge WinTV-HVR-1900 or Hauppauge HD-PVR (PAL) lchiu7 23 18,315 2014-05-15, 12:59 AM
Last Post: lchiu7
  Cablecard support SundanceTV 2 4,807 2011-07-07, 06:34 PM
Last Post: lovemyram4x4
  avermedia hybrid volar max analog detection support bspurloc 4 2,289 2010-07-02, 05:38 PM
Last Post: sub
  Support for Videomate T750 The82Haggis 5 3,806 2010-05-31, 03:41 PM
Last Post: sub
  Can GBPVR support the Dazzle DVC 101 capture device HYBRiD.BLiNG 9 3,653 2010-05-07, 04:40 AM
Last Post: HYBRiD.BLiNG
  Support for the new MediaMVP-HD Miller 2 1,560 2010-05-06, 03:00 PM
Last Post: Miller
  Catalyst 10.3 = no VMR9 support? Mr Evil 7 2,504 2010-03-26, 02:35 PM
Last Post: pcostanza
  support for console hookup? dentsu 7 2,485 2010-02-05, 02:07 AM
Last Post: sub
  v1.4.7 SkyStar HD2 support broken masariello 3 2,438 2010-01-22, 03:53 AM
Last Post: whurlston
  Error message: "Sorry, this system does not support the required VMR9 video render." bobsmith 10 8,280 2009-12-22, 05:21 PM
Last Post: liteswap

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode