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
延伸文章資訊
- 1Can't save the file after change the Encoding from "Characters ...
So, I change the encodind of a file to UTF-8 by going to: Menu -> Encoding -> Utf-8 -> SAVE After...
- 2Wrong ANSI encoding for UTF-8 text file, when "Auto-detect ...
Even if I click in Notepad++ "Encoding - Convert to UTF-8" and save the file, then reopening will...
- 3Notepad encoding ANSI opening up as UTF-8 Win 10
Hi All, i'm running Win 10 2004 19041.867 If i save a notepad document (Blank) as ANSI, it opens ...
- 4如何把純文字檔案轉換成UTF-8格式:使用Notepad++ / How ...
純文字檔案轉換成UTF-8 / Convert Text Into UTF-8 Encoding · 1. 開啟檔案/ Open File · 2. 改變編碼為UTF-8 / Convert E...
- 5How 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...