-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting codepage error #2
Comments
I think you meant to open this issue on a different repo? My module is called srt-to-vtt, not srt2vtt |
Oh, yes sorry about that the problem i was having with yours was with the encoding eventualy after passing the files throu the converter i couldn't get ex: greek characters.. Sorry about that my mistake i edited the post. |
Hmm I'm a bit more confused now? Are you it didnt work with my module? Otherwise could you close this? |
I tryied working with your module but the problem i was getting was with utf8 encoded files. The encoding broke no matter using encoding options on readfile and write. Thanks in advance, sorry for the confusion about the first post. |
Could you share a full example of what isn't working?
|
Using your example: fs.createReadStream('subs.srt', {encoding: 'utf-8'}) From: subs.srt: To subs.vtt: |
try removing the encoding option |
Tryed both removing encoding option from read and write, but also on both but the result was the same. |
I fixed the error, i was beeing dumb once again and adding wrong encoding to the initial file. Thanks again |
No worries. Glad you figured it out! |
Edit: Repo confusion.
The text was updated successfully, but these errors were encountered: