Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

How to set characters to display properly in my language

7 replies [Last post]
Reply

Ok I need that my subs display properly

This is what I am doing at the moment
I got me a .srt file in ascii which I open in notepad and save as UTF-8
Than I change some problematic letters from this to that
example:

from
æ I change to ć so when video is played I can see ć
È I change to ÄŒ to get this shown Č

but dont know for other letters such as (this is complete list)

š Š
đ Đ
č Č
ć Ć
ž Ž
dž Dž

As I am bit new to all this is there some kind of list of all characters I need to edit my UTF-8 srt file

Or is there some better way to get these displayed properly in my language which is Serbian when video is played?

Reply

There should be tools out there that do this automatically for you. Unfortunately, I'm not quite sure which.

I do have a simple code editor (TextMate) which allows you to Re-open a file with any encoding type. Perhaps if you open a file directly as UTF8, all the characters are already fine. Next, save it as UTF8 as well.

Reply

How to do this isnt working also to me?
Does anywheone have solution?

Reply

It's all about storing / serving your files using UTF-8 character encoding. There's nothing else you have to do in the player or plugin. Here's an example:

http://www.longtailvideo.com/support/addons/captions-plugin/20314/

Reply

I'm having issues with foreign characters as well... it's a peculiar problem.

I have all files set to UTF-8.
I'm running jwplayer with multiple language captions, all setup in same fashion.

Most languages work just fine, but Punjabi and Hindi do not work at all (displayed as blocks instead of characters in captions)...
If I drop .srt files directly into browser, they are displayed properly, but when run through jwplayer, I only get blocks...

I grabbed another set of .srt files from another site, which work ok withing that site (using different type of player), and when I plug it into jwplayer, I still get same issue (only blocks).

Any idea?

Reply

That may actually be an issue of the Flash runtime. Have you tried another Flash player to check this? Pls share one of the SRT files so I can take a look as well.

Reply

Hi Jeroen,
thank for quick reply!

For testing purposes, you can download various SRT languages from UnversalSubtitles (I'm just hesitant to publish my works in progress :) )

Thank you again! Great Work, btw!

Reply

Well, the testsubs from Usubs all work. I tried several of them. It must be related to headers and/or encoding ...

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options