hello. I need to convert several .txt files from UTF-8 to UTF-8-BOM, the files are located in *c:\Folder1*
Can this task be done with sublime text?
hello. I need to convert several .txt files from UTF-8 to UTF-8-BOM, the files are located in *c:\Folder1*
Can this task be done with sublime text?
It can be done manually with Sublime Text, but if you have a lot of files I suggest using a more appropriate tool like a shell or python.
you can find 2 simple solutions here, one with a Python Script, and the other with REGEX as below:
One of them is by using REGEX:
Ctrl + Shift + F
)
\A
\x{FEFF}
*.html
Your SPECIFIC folder
Regular expression
search mode
Replace in Files
buttonAre you sure?
dialog