Notepad++ automatically changing files from ANSI to UTF-8
文章推薦指數: 80 %
Comments · Steps to Reproduce the Issue. Pre-req: file saved in ANSI. Open file in Notepad++; Validate Encoding of file. Notice it is set to UTF- ...
Skiptocontent
{{message}}
notepad-plus-plus
/
notepad-plus-plus
Public
Notifications
Fork
3.8k
Star
17.2k
Code
Issues
1.7k
Pullrequests
19
Actions
Projects
0
Wiki
Security
Insights
More
Code
Issues
Pullrequests
Actions
Projects
Wiki
Security
Insights
Newissue
Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity.
Pickausername
EmailAddress
Password
SignupforGitHub
Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand
privacystatement.We’lloccasionallysendyouaccountrelatedemails.
AlreadyonGitHub?
Signin
toyouraccount
Jumptobottom
Notepad++automaticallychangingfilesfromANSItoUTF-8
#3889
Closed
cfuselier74openedthisissue
Nov13,2017
·5comments
Closed
Notepad++automaticallychangingfilesfromANSItoUTF-8
#3889
cfuselier74openedthisissue
Nov13,2017
·5comments
Comments
Copylink
cfuselier74
commented
Nov13,2017
CurrentVersion:7.5.1
WhenIopenafileinNotepad++regardlessoftheencodingofthefileNotepad++isdefaultingtoUTF-8andwhenIsavethefilesitiscausingissuesasIneedthefilestobeencodedwiththecorrectversion.
StepstoReproducetheIssue
Pre-req:filesavedinANSI
OpenfileinNotepad++
ValidateEncodingoffile.NoticeitissettoUTF-8
Savethefile.
ExpectedBehavior
Fileshouldbesavedwithoriginalencoding
ActualBehavior
FileissavedinUTF-8
DebugInformation
Notepad++v7.5.1(32-bit)
Buildtime:Aug292017-02:35:41
Path:C:\ProgramFiles(x86)\Notepad++\notepad++.exe
Adminmode:OFF
LocalConfmode:OFF
OS:Windows7(64-bit)
Plugins:HTMLTag_unicode.dllImgTag.dllJSLintNpp.dllJSMinNPP.dllmimeTools.dllNppConverter.dllNppExport.dllNPPJSONViewer-win32.dllPluginManager.dllXMLTools.dll
Thetextwasupdatedsuccessfully,buttheseerrorswereencountered:
Allreactions
Copylink
Member
dail8859
commented
Nov13,2017
DoyouhaveSettings>Preferences>NewDocument>Encoding>UTF-8>ApplytoopenedANSIfilescheckmarked?
👍
6
RahlForge,MetaChuh,viktors-telle,RoyiAvital,georgie123,andTechieGeekereactedwiththumbsupemoji
Allreactions
👍
6reactions
Sorry,somethingwentwrong.
Copylink
Author
cfuselier74
commented
Nov13,2017
Hi,
Thatwastheissue.
Thankyou.
…
OnMon,Nov13,2017at12:33PM,dail8859***@***.***>wrote:
DoyouhaveSettings>Preferences>NewDocument>Encoding>UTF-8>
ApplytoopenedANSIfilescheckmarked?
—
Youarereceivingthisbecauseyouauthoredthethread.
Replytothisemaildirectly,viewitonGitHub
,
ormutethethread
延伸文章資訊
- 1File encoding not preserved after saving in Notepad++
Go in the menu Settings -> Preference -> New document/ Default Directory. In the suck section Enc...
- 2How do I convert an ANSI encoded file to UTF-8 with ...
Try Settings -> Preferences -> New document -> Encoding -> choose UTF-8 without BOM, and check Ap...
- 3How do I save a Notepad file as UTF-8? - Ru-facts.com
Go to File > Save As… and choose UTF-8 under Encoding:, press Save and overwrite the existing fil...
- 4How to Change the Default Character Encoding in Notepad - Winhelponline
- 5Change the file encoding using Notepad++ - YouTube