[Solved] Is there an Option to Preserve File Encoding

7 Posts
2 Users
0 Likes
136 Views
 hpwn
(@hpwn)
Member
Joined: 2 months ago
Posts: 5
Topic starter  

Allmost all my sql-files are UTF-8 encoded.

When I press SQLInForm button the encoding is set to ansi (even without converting the text).

Is there an option to preserve file encoding. This behavior is a real pain and a source of critical errors.


   
Quote
Guido
(@admin)
Member Admin
Joined: 2 years ago
Posts: 175
 

Hi @hpwn , thanks for your feedback.

Could you please explain me how you check/see in N++ which encoding is active.

The Formatter should not change encoding.

Regards

Guido

 


   
ReplyQuote
Guido
(@admin)
Member Admin
Joined: 2 years ago
Posts: 175
 

I tested it and on my PC I still see the UTF-8 encoding after Formatting the SQL

grafik

 

Which Version of the Plugin did you install?

Regards

Guido

This post was modified 2 months ago by Guido

   
ReplyQuote
 hpwn
(@hpwn)
Member
Joined: 2 months ago
Posts: 5
Topic starter  

Hi Guido,

You're right, de jure the encoding is not changed, but the german umlauts are ansi coded.

before SQLinForm

grafik

and after

grafik

if I then set encoding to Ansi the text is restored but the file is in a new encoding

grafik

   
ReplyQuote
 hpwn
(@hpwn)
Member
Joined: 2 months ago
Posts: 5
Topic starter  

Sorry,

forgot to answer Youre question about my version:

grafik

   
ReplyQuote
 hpwn
(@hpwn)
Member
Joined: 2 months ago
Posts: 5
Topic starter  

Allright, I've actually installed the newest version and evething works fine. I thougt, as I've downloaded the plugin from the npp plugin plattform just three days before, that I'm allready working with the actual sw. My fault.


   
ReplyQuote
Guido
(@admin)
Member Admin
Joined: 2 years ago
Posts: 175
 

Thanks for your valuable feedback. It's probably time to publish a new version to the N++ plugin directory

Regards

Guido


   
ReplyQuote
Share: