[Solved] Is there an Option to Preserve File Encoding

7 Posts
2 Users
0 Reactions
2,007 Views
Posts: 5
 hpwn
Topic starter
(@hpwn)
Member
Joined: 2 years ago
[#97]

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.


6 Replies
Guido
Posts: 295
Admin
(@admin)
Member
Joined: 5 years ago

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

 


Reply
1 Reply
Guido
Admin
(@admin)
Joined: 5 years ago

Member
Posts: 295

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


Reply
Posts: 5
 hpwn
Topic starter
(@hpwn)
Member
Joined: 2 years ago

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

Reply
Posts: 5
 hpwn
Topic starter
(@hpwn)
Member
Joined: 2 years ago

Sorry,

forgot to answer Youre question about my version:

grafik

Reply
Posts: 5
 hpwn
Topic starter
(@hpwn)
Member
Joined: 2 years ago

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.


Reply
Page 1 / 2
Share: