summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-10-03 16:51:58 +0000
committerjstebbins <[email protected]>2009-10-03 16:51:58 +0000
commit3f0772a709a839258eee5b4a8fcf3f5bb830b81a (patch)
tree9f2debb517c5395037faf1be03eda5851f56c683 /win
parentd3a040aafa87d4f56dc6e6b2531afe407432f0b2 (diff)
fix reading of UTF-16 SRT subtitle files (and other wide charsets)
The entire file is encoded in the chosen charset, not just the subtitle text. So we must read and convert the text prior to any parsing. Using fgets() to read a line doesn't work because wide charsets can have 0x0a in the high byte of some char. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2863 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
0 files changed, 0 insertions, 0 deletions