tracker issue : CFB-4130078

select a category, or use search below
(searches all categories and all time range)
Title:

File Search Find and Replace Feature Data Loss Due to File Encoding Change on Save

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Travis Walters / Travis Walters (Travis Walters)

Created: 03/18/2016

Components: General - IDE

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Beta1_v31 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 0

Problem Description:

When using the file search feature under Search -> Search to find and replace text, there is no check to see if data loss will occur when saving the files with the replaced text. If I have special characters from the ISO-8859-1 file encoding and the file is set to use a different encoding (UTF-8 by default), then data loss will occur. I consider this more of a bug because there is no warning than a feature request. Same thing happens anytime you save a file in Blizzard that uses an encoding other than the one specified. It would be nice if there could be something we could set to warn us if data loss will occur when saving due to any file encoding.

See this thread for full details and other related issues:
https://prerelease.adobe.com/project/forum/thread.html?cap=05D198F3B43F49EE950A8643486DF6D4&forid={E7CAEBDE-A8F5-4F52-B22D-E94600B746E8}&topid={3E201D69-1FFA-42F4-A96E-7905DB3D0C1E}

Bug ID #4099674 sort of related to this as well.

Steps to Reproduce:

Have a file with ISO-8859-1 text encoding but set it as UTF-8. Use file search to find and replace text. 

Actual Result:

When saved, the file will lose its original encoding without any warning causing data loss from the original document.

Expected Result:

I expect to at least see some sort of warning. It would be nice to have something we could set under preferences to check for data loss when saving a file in general or through the file search and replace feature that would inform us of potential data loss due to a file encoding change.

Any Workarounds:

Not currently - some sort of feature would be needed here I believe.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4130078

External Customer Info:
External Company:  
External Customer Name: Travis Walters
External Customer Email: TWALTERS84@HOTMAIL.COM
External Test Config:

Attachments:

Comments:

Added By:prk Note Added: This is a valid scenario, we will take this up in the next version, Thanks! Date Added :2015-12-16 15:22:31.0 Added By: PreRelease User User Name:Travis Walters Note Added: Entered Bug. Date Added :2015-12-14 10:21:05.0
Comment by CFwatson U.
26541 | March 18, 2016 05:25:58 AM GMT