NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 8 9 10 11 12 … 34 Next »
EPG Language Selection in V5

 
  • 0 Vote(s) - 0 Average
EPG Language Selection in V5
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,337
Threads: 868
Joined: May 2006
#31
2021-11-13, 03:02 AM
I did some checking and the issue does not appear to be pvr.nextpvr or NextPVR. For my test I used the "women" character and I see NextPVR sends 女 as UTF-8 U+5973 (E5 A5 B3) and the database stores the same 3 bytes. I have identified this to see if anyone can help advance it.

Martin
ManicsMan
Offline

Junior Member

Posts: 29
Threads: 4
Joined: Nov 2012
#32
2021-11-13, 07:14 AM
(2021-11-13, 03:02 AM)mvallevand Wrote: I did some checking and the issue does not appear to be pvr.nextpvr or NextPVR.  For my test I used the "women" character and I see NextPVR sends 女 as UTF-8 U+5973 (E5 A5 B3) and the database stores the same 3 bytes.  I have identified this to see if anyone can help advance it.

Martin

Thank you for the very quick reply. I like to shed more light on this. I found that NextPVR client also shows square blocks in place of Chinese characters. Here is screenshot:

[Image: 4Wst4SX]

Regarding use of Chinese characters in Programme Info (even when set to English), NextPVR web client still shows Chinese characters whereas MediaPortal correctly shows nothing (because there are no English Programme Data for this particular TV Show). See the following screenshots:

[Image: BKxGypG]
[Image: 1zvxKSG]
ManicsMan
Offline

Junior Member

Posts: 29
Threads: 4
Joined: Nov 2012
#33
2021-11-13, 07:15 AM
(2021-11-13, 07:14 AM)ManicsMan Wrote:
(2021-11-13, 03:02 AM)mvallevand Wrote: I did some checking and the issue does not appear to be pvr.nextpvr or NextPVR.  For my test I used the "women" character and I see NextPVR sends 女 as UTF-8 U+5973 (E5 A5 B3) and the database stores the same 3 bytes.  I have identified this to see if anyone can help advance it.

Martin

Thank you for the very quick reply. I like to shed more light on this. I found that NextPVR client also shows square blocks in place of Chinese characters. Here is screenshot:

[Image: 4Wst4SX]

Regarding use of Chinese characters in Programme Info (even when set to English), NextPVR web client still shows Chinese characters whereas MediaPortal correctly shows nothing (because there are no English Programme Data for this particular TV Show). See the following screenshots:

[Image: BKxGypG]
[Image: 1zvxKSG]

Sorry I don't know what happened to the images. How do I embed images here?

The links to view the screenshots are 

https://ibb.co/4Wst4SX
https://ibb.co/BKxGypG
https://ibb.co/1zvxKSG
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#34
2021-11-13, 07:35 AM
(2021-11-13, 07:14 AM)ManicsMan Wrote: Regarding use of Chinese characters in Programme Info (even when set to English), NextPVR web client still shows Chinese characters whereas MediaPortal correctly shows nothing (because there are no English Programme Data for this particular TV Show).
NextPVR's language preference settings are about your preferred language if there are multiple available - if there isn't, then you get whatever is available.

Quote:I found that NextPVR client also shows square blocks in place of Chinese characters.
I'm aware of some situations where this can happen - it relates to the new Skia based text rendering introduced a couple of releases back (to replace the now defunct system.drawing equivalent). It basically does this if the default font for the skin ("San Droid") doesn't contain glyphs for these characters. System.drawing was more forgiving in the past, and would fall back to glyphs from the system font.

Quote:Sorry I don't know what happened to the images. How do I embed images here?
The image files were probably just too large. There is a maximum size for image attachments.
ManicsMan
Offline

Junior Member

Posts: 29
Threads: 4
Joined: Nov 2012
#35
2021-11-13, 07:48 AM
(2021-11-13, 07:35 AM)sub Wrote:
(2021-11-13, 07:14 AM)ManicsMan Wrote: Regarding use of Chinese characters in Programme Info (even when set to English), NextPVR web client still shows Chinese characters whereas MediaPortal correctly shows nothing (because there are no English Programme Data for this particular TV Show).
NextPVR's language preference settings are about your preferred language if there are multiple available - if there isn't, then you get whatever is available.

Quote:I found that NextPVR client also shows square blocks in place of Chinese characters.
I'm aware of some situations where this can happen - it relates to the new Skia based text rendering introduced a couple of releases back (to replace the now defunct system.drawing equivalent). It basically does this if the default font for the skin ("San Droid") doesn't contain glyphs for these characters. System.drawing was more forgiving in the past, and would fall back to glyphs from the system font.

Quote:Sorry I don't know what happened to the images. How do I embed images here?
The image files were probably just too large. There is a maximum size for image attachments.


Thanks for explanation. I would prefer NextPVR to show nothing in the Programme Info rather than show the programme info in Chinese language. After all, my setting was to show English rather than show Default. Is this currently available or will I have to just accept the Default (in the event of my chosen selection not being available)?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#36
2021-11-13, 08:02 AM
I could probably add some setting to have it behave that way.

It’s been like this forever, and no one has asked for it to be that way.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#37
2021-11-13, 08:04 AM
It's probably only possibly to do that for description. You couldn't do it for show title, since it's gonna have to have a show title - it can't just stay empty if there is no english title.
ManicsMan
Offline

Junior Member

Posts: 29
Threads: 4
Joined: Nov 2012
#38
2021-11-13, 08:21 AM
(2021-11-13, 08:04 AM)sub Wrote: It's probably only possibly to do that for description. You couldn't do it for show title, since it's gonna have to have a show title - it can't just stay empty if there is no english title.

Yes, totally understand. The programme info should be from the English "track" if the user selects English. If there's no data, then so be it. The show title may not be selectable, like you suggest. In my profession, I also work with media files and have a deep understanding of subtitles and it's a similar scenario, whereby, if somebody selected a subtitle track which contained no data, we just show no data, rather than reverting to the default.

Once again, thank you for the very fast replies. I am so impressed!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 45,337
Threads: 868
Joined: May 2006
#39
2021-11-13, 04:14 PM (This post was last modified: 2021-11-13, 04:16 PM by mvallevand.)
Sub's reply got me thinking and sure enough if you change the font in the Kodi skin to Arial you get the Chinese words too.  IMO that is preferable to not showing anything.

Martin


Attached Files Thumbnail(s)
   
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#40
2021-11-13, 05:45 PM
(2021-11-13, 08:21 AM)ManicsMan Wrote: Yes, totally understand. The programme info should be from the English "track" if the user selects English. If there's no data, then so be it. The show title may not be selectable, like you suggest. In my profession, I also work with media files and have a deep understanding of subtitles and it's a similar scenario, whereby, if somebody selected a subtitle track which contained no data, we just show no data, rather than reverting to the default.
I think that is a lot less clear cut in Europe, where it is common for the user to be multi-lingual. For example, a user might prefer a French description of the show, but they'd happily take an English description (over nothing) if that is all that is available.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR station selection issue 2leftfeet 10 505 2022-07-31, 10:19 PM
Last Post: sub
  Webui channel selection sammy3 7 1,304 2020-04-10, 10:14 AM
Last Post: sammy3

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

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

Linear Mode
Threaded Mode