Wireshark-commits: [Wireshark-commits] master-2.6 7d300fd: Force textify.ps1 to read files as UTF-8
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7d300fd9a6a9af14899e2b289ace628eebf340ff
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
7d300fd by Gerald Combs (gerald@xxxxxxxxxxxxx):
Force textify.ps1 to read files as UTF-8.
Prior to the switch from AsciiDoc to Asciidoctor we converted
release_notes.html to NEWS using elinks or lynx, which in turn generated
ASCII output. It was sufficient to read NEWS in PowerShell using
Get-Content, which defaults to ASCII.
We now use tools/html2text.py, which generates UTF-8. Switch Get-Content's
encoding to match. Note that Notepad detects file encodings heuristically,
and that we might want to use a BOM.
Bug: 14636
Change-Id: Ibd92ef7ad642631a938bb4d75a2d83f479099032
Reviewed-on: https://code.wireshark.org/review/27242
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 98e71f451 prefs: fix crash when setting certain obsolete port preferences
adds 7d300fd Force textify.ps1 to read files as UTF-8.
Summary of changes:
tools/textify.ps1 | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)