Skip to content

TheJakov/convert-srt-utf8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert SRT to UTF-8

A simple Node.js script to convert SRT subtitle files to UTF-8 encoding.

Installation

# Clone the repository
git clone https://github.com/TheJakov/convert-srt-utf8.git
cd convert-srt-utf8

# Install dependencies
npm install

Usage

# Run the script
npm start <path-to-srt-file>

# Or run directly with node
node convert-srt.js <path-to-srt-file>

The script will create a new file with '_utf8' appended to the original filename.

Example

npm start subtitles.srt
# Creates: subtitles_utf8.srt

Preview

image

About

Converts any .srt to UTF-8 encoding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published