Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: rickg22 on January 24, 2012, 01:35:58 am
-
(Submitted to berlios here: https://developer.berlios.de/feature/index.php?func=detailfeature&feature_id=5490&group_id=5358 )
I'm currently having various projects at work, one runs in IIS under Windows and the other runs PHP under Linux. The Linux project has all its files encoded as utf8, while the Windows project has all its files encoded as iso-8859-1. The problem is that I have to change the default encoding whenever I switch project, and it's a royal pain in the backside.
I wish I could set the default encoding per project so I don't have to switch encodings manually.
Thanks!
-
(Submitted to berlios here: https://developer.berlios.de/feature/index.php?func=detailfeature&feature_id=5490&group_id=5358 )
I'm currently having various projects at work, one runs in IIS under Windows and the other runs PHP under Linux. The Linux project has all its files encoded as utf8, while the Windows project has all its files encoded as iso-8859-1. The problem is that I have to change the default encoding whenever I switch project, and it's a royal pain in the backside.
I wish I could set the default encoding per project so I don't have to switch encodings manually.
Thanks!
What you want is a per project default-encoding, that overrides the global settings and is used to force this encoding without using the auto-detection.
Is that correct ?
Should not be too hard to implement.