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. |
10th March 2002, 12:11 | #1 | Link |
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. |
10th March 2002, 14:56 | #2 | Link |
Registered User
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|