Jump to content


Photo

encoding on openpli 6 not support farsi (persian)


  • Please log in to reply
12 replies to this topic

#1 wolfx95

  • Member
  • 10 posts

0
Neutral

Posted 22 September 2017 - 19:21

hi
i have vu solo with openpli 6
but i have subtitle utf8 farsi
i runing subtitle.srt on subtitle player but not good show with uncoding utf8

please help for this

Re: encoding on openpli 6 not support farsi (persian) #2 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 23 September 2017 - 08:47

I think the font we use doesn't have the farsi characters? In that case the first step is to find a fond that does.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: encoding on openpli 6 not support farsi (persian) #3 wolfx95

  • Member
  • 10 posts

0
Neutral

Posted 23 September 2017 - 09:17

All the fonts I use are completely correct.


In Android with application mx player , all persian subtitles utf 8 codec are perfectly correct after executing.

But it displays in vusolo openpli6 unreadable.

Re: encoding on openpli 6 not support farsi (persian) #4 wolfx95

  • Member
  • 10 posts

0
Neutral

Posted 23 September 2017 - 09:18

I think the font we use doesn't have the farsi characters? In that case the first step is to find a fond that does.


All the fonts I use are completely correct.


In Android with application mx player , all persian subtitles utf 8 codec are perfectly correct after executing.

But it displays in vusolo openpli6 unreadable.


only show codec iso 1256 arabic, no show utf8 codec farsi (persian)

Edited by wolfx95, 23 September 2017 - 09:20.


Re: encoding on openpli 6 not support farsi (persian) #5 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 23 September 2017 - 09:18

Try utf8 with BOM.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: encoding on openpli 6 not support farsi (persian) #6 wolfx95

  • Member
  • 10 posts

0
Neutral

Posted 23 September 2017 - 09:23

Try utf8 with BOM.


hi
please explain more?

Re: encoding on openpli 6 not support farsi (persian) #7 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 23 September 2017 - 09:37

Use notepad++ and change/check that file is with utf8 with BOM.

http://docs.notepad-...vert_Or_Encode?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: encoding on openpli 6 not support farsi (persian) #8 wolfx95

  • Member
  • 10 posts

0
Neutral

Posted 23 September 2017 - 09:43

Use notepad++ and change/check that file is with utf8 with BOM.
http://docs.notepad-...vert_Or_Encode?

thanks
But this app is not available for Android?

and I can edit encoding.conf for Persian support?
If yes , how ?

Edited by wolfx95, 23 September 2017 - 09:44.


Re: encoding on openpli 6 not support farsi (persian) #9 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 23 September 2017 - 10:18

I think the font we use doesn't have the farsi characters? In that case the first step is to find a fond that does.

 

Hi Erik,

 

May be this can help:

 

https://github.com/rastikerdar

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: encoding on openpli 6 not support farsi (persian) #10 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 24 September 2017 - 08:50

Use notepad++ and change/check that file is with utf8 with BOM.

http://docs.notepad-...vert_Or_Encode?

How can that help?

 

BOM is not required for UTF-8, it's even discouraged, there is no sense.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: encoding on openpli 6 not support farsi (persian) #11 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 24 September 2017 - 09:32

You can use https://dejavu-fonts...o/Download.html font then edit your skin.xml, Also you can use "Sh Persian Subtitle Fixer" for srt files ;)


Open Vision sources: https://github.com/OpenVisionE2


Re: encoding on openpli 6 not support farsi (persian) #12 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 24 September 2017 - 14:42

Use notepad++ and change/check that file is with utf8 with BOM.

http://docs.notepad-...vert_Or_Encode?

How can that help?
 
BOM is not required for UTF-8, it's even discouraged, there is no sense.


Generally yes, there is no sense, but gstreamer has a bug in encoding detection from srt files!

When there is BOM on UTF8, the detection works better.


We do have patch on our OE, but upstream the patch never accepted, most probably because it doesn't handle all scenarios.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: encoding on openpli 6 not support farsi (persian) #13 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 25 September 2017 - 17:58

I still don't understand. UTF-8 does not need detection of language nor encoding. The only stage were some detection might be applicable is where the glyphs are rendered, as to make sure a font is picked that actually contains that glyphs. That is outside of gstreamer anyway.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users