Home Download Buy Blog Forum Support

How can I saved utf8 for files

How can I saved utf8 for files

Postby lucky215 on Tue Mar 08, 2011 3:49 am

HI all:
I cant saved file with uft8 encode. It's just ANSI and platform is DOS\Windows default. But I hope I can set it with utf8 and Unix default.

so, please help.thanks.
lucky215
 
Posts: 7
Joined: Mon Mar 07, 2011 2:01 am

Re: How can I saved utf8 for files

Postby jps on Tue Mar 08, 2011 4:18 am

All files should save as UTF8 by default - you can see this by looking in the console after saving, it'll write the encoding used there.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: How can I saved utf8 for files

Postby lucky215 on Tue Mar 08, 2011 9:51 am

thanks, I find when files contain simple-chinese,then it's will saved utf8.
lucky215
 
Posts: 7
Joined: Mon Mar 07, 2011 2:01 am

How can I save file with unix format by default?

Postby furskytl on Fri Mar 14, 2014 2:58 am

Hi, I am editing project files in Windows. The files are in Linux and I access them through Samba. Sometimes when I save changes, the file seems to be in format dos, not unix and I have to changed it in with Linux vim. So, can I configure sublimetext to save file in unix format by default? Thanks!
furskytl
 
Posts: 1
Joined: Fri Mar 14, 2014 2:50 am


Return to General Discussion

Who is online

Users browsing this forum: _Jo_, prmaple and 31 guests