Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th March 2002, 12:11   #1  |  Link
abyss
Registered User
 
Join Date: Mar 2002
Posts: 29
Setting charset in MDVD subtitle file

Has anybody succeded in setting charset using control codes in MDVD subtitle file? According to MDVD documentation, there is a following control code for setting charset:

"{H:charset}
With this you can set the charset for the font to use. You need this to e.g. tell the player that the chosen font has a greek, russian, hebrew etc. charset.
Attention: This control code is only valid in the {DEFAULT} line
"

I have some subtitles in russian, but I couldn't set charset using that control code. I've tried {DEFAULT}{}{H:russian}, {DEFAULT}{}{H:cyrillic}, but in both cases MDVD reports the same error: "Unable to process Subtitle File! Error: General error (wrong format?) Line Number: 1".

I've tried some other options like {H:english} or {H:german}, but it didn't work either.
Of course it is not a big problem - I can always set charset in subtitle options section of MDVD Configuration Dialog. But it is not as convenient as setting charset directly in subtitle file. Has anybody any experience with that? Thanks a lot.
abyss is offline   Reply With Quote
Old 10th March 2002, 14:56   #2  |  Link
gabest
Registered User
 
gabest's Avatar
 
Join Date: Oct 2001
Posts: 1,459
Try the numbers:

Code:
#define ANSI_CHARSET            0
#define DEFAULT_CHARSET         1
#define SYMBOL_CHARSET          2
#define SHIFTJIS_CHARSET        128
#define HANGEUL_CHARSET         129
#define HANGUL_CHARSET          129
#define GB2312_CHARSET          134
#define CHINESEBIG5_CHARSET     136
#define OEM_CHARSET             255
#if(WINVER >= 0x0400)
#define JOHAB_CHARSET           130
#define HEBREW_CHARSET          177
#define ARABIC_CHARSET          178
#define GREEK_CHARSET           161
#define TURKISH_CHARSET         162
#define VIETNAMESE_CHARSET      163
#define THAI_CHARSET            222
#define EASTEUROPE_CHARSET      238
#define RUSSIAN_CHARSET         204

#define MAC_CHARSET             77
#define BALTIC_CHARSET          186
gabest is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.