Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Identify why two seemingly equivalent SRT file are treated differently

02 Mar 2016   #1
chermesh

Triple boot: WinXP Pro + Win7 Ultimate + Win10 Ultimate
 
 
Identify why two seemingly equivalent SRT file are treated differently

Hi,
I'm keeping video files on my win7 pc. I'm using Universal Media Server to transmit these videos to a TV set.
The way an SRT file is accepted by my DNLA puzzles me.
I have a whole set of SRT files, holding Hebrew subtitles, which were saved by MS Writer as unicode text documents, all accepted perfectly by the server and shown in clear legible Hebrew letters. One SRT file, however, shows up completely illegible.
How do I find out what's wrong with problematic file?


My System SpecsSystem Spec
.
02 Mar 2016   #2
MilesAhead

Windows 7 32 bit
 
 

Do the srt files specify fonts? If so are they the same?
Afaik srt files are only supposed to have the subtitle number, then a time line, then the text. But many people have added their own non-standard variations.

One quick way to check for weird things is to search the srt in an editor for curly braces. Search for '{' and '}' as they are often used as delimiters for these non-standard markers.

If you find any curly braces I have a small utility that strips curly braces and angle brackets from srt files. It is called SrtStrip and may be downloaded from my page below. Note that the program is just a script that looks for a left angle bracket and if found, deletes it and the next 2 characters to get rid of the character inside the brackets and the right angle bracket. What I was trying to get rid of were tags like this "<i>this is some italic subtitle</i>"

Likewise if it finds a left curly brace it stops copying the characters to the output until it finds the matching right brace. No rocket science was involved in the production of this utility.

Miles Ahead's Windows Downloads
My System SpecsSystem Spec
02 Mar 2016   #3
chermesh

Triple boot: WinXP Pro + Win7 Ultimate + Win10 Ultimate
 
 

Thanks MilesAhead, but that's not the case. When I run the video I do see test' but instead of seeing legitimate Hebrew letters, I see a line or two of illegible form.
When I access the file using MS Writer, all text is as expected and no curly braces are tracked.
My System SpecsSystem Spec
.

Reply

 Identify why two seemingly equivalent SRT file are treated differently




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Why do different drives treat file name lengths differently
I have Windows 7 SP1 64bit. I am trying to find the best solution for keeping a regular backup of large amounts of data. I don't want to automate it. I want to manually do it every month or 2. I have tried just copying and pasting everything using perigee copy (it bypasses windows prompts)...
Backup and Restore
program treated as file in windows search
Hello, i'm on windows 7, and I use the windows search a lot to execute programs (i just have to open start menu, type the beginning of the program name and press enter) But infortunately, programs that are not in the intalled programs list are not found easily, for example, i use Eclipse a lot,...
General Discussion
Keyboard Problem: SHIFT+9 treated like PAGE-UP
Hello all. Thanks in advance for any help. When I hit SHIFT+9 , my system interprets it as if I'm hitting PAGE-UP. This occurs with both the left and right shift key. The 9 key and both shift keys otherwise work fine, and SHIFT+0 works fine too. The problem occurs regardless of what program...
General Discussion
Program Needed to Identify Multiple Copies of the Same File on My PC
I'm looking for a program for Windows 7 which will scan my computer and enable me to identify multiple copies of the same file on my system. Once identified, it will either prompt me to delete the extra copies or do it for me automatically. Thanks.
Software
Internal Secondary HDD treated as Removable Hardware
My secondary HDDs are treated as Removable Hardware and goes into Sleep mode when not used for a while. Does anyone knows how to make Win7 treat the HDDs as permanent and keep them running?
Hardware & Devices
Please help identify this file in my Start-Up (ScreenShot)
Hi, My name is Katy and I have a question, maybe 2 ! :sarc: If you look at this screenshot, there is a file that I pointed at and was wondering if anyone knew what it was and if I needed it.. And...do I need any of these things? Just seems like so much on my start-up, but I don't know.. I'm no...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App