V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
1v9
V2EX  ›  程序员

Win10 18298 的一项史诗级进步

  •  1
     
  •   1v9 · 2018-12-11 12:44:33 +08:00 · 6408 次点击
    这是一个创建于 1934 天前的主题,其中的信息可能已经有所发展或是发生改变。

    标题有点夸张,更多信息详见微软公告

    Notepad Updates

    UTF-8 Encoding: We've made significant improvements to the way Notepad handles encoding. Starting with this build, we are adding the option to save files in UTF-8 without a Byte Order Mark and making this the default for new files. UTF-8 without a Byte Order Mark is backwards-compatible with ASCII and will provide better interoperability with the web, where UTF-8 has become the default encoding. Additionally, we added a column to the status bar that displays the encoding of the document.

    Modified indicator: Notepad will now show an asterisk (*) in the title bar before the title of a document to indicate that a document has unsaved changes.

    不说了,待我重启更新。

    第 1 条附言  ·  2018-12-11 13:43:38 +08:00
    这次更新后 Windows 控制台窗口属性也新增了一个实验性的 “终端” 选项卡。

    关键是富文本支持,WSL 舒服了,这个我觉得是真的史诗级进步。
    43 条回复    2018-12-11 22:33:34 +08:00
    saturnast
        1
    saturnast  
       2018-12-11 12:59:13 +08:00
    这是说 notepad.exe 以后可以写代码了吗?(手动斜眼
    g531956119
        2
    g531956119  
       2018-12-11 12:59:59 +08:00 via Android
    噢,终于把 BOM 去掉了吗,可喜可贺可喜可贺
    mmdsun
        3
    mmdsun  
       2018-12-11 13:03:27 +08:00 via Android
    快速预览版?
    lisonfan
        4
    lisonfan  
       2018-12-11 13:09:05 +08:00
    为啥不直接把 VSCode 集成进系统替换掉 Notepad
    whileFalse
        5
    whileFalse  
       2018-12-11 13:11:51 +08:00
    确实史诗级进步。
    我碰见过两次因为程序员用 notepad 改配置文件(我自己写的解析器)导致被加入 bom,首行配置出问题的事情。
    xujinkai
        6
    xujinkai  
       2018-12-11 13:13:17 +08:00
    @lisonfan 那个启动速度还是算了吧
    orangeade
        7
    orangeade  
       2018-12-11 13:14:22 +08:00
    office 打开无 bom 的 csv 还是乱码
    wolfie
        8
    wolfie  
       2018-12-11 13:17:39 +08:00
    踩过坑的都已经养成了避开 notepad 习惯了吧😂😂
    Livid
        9
    Livid  
    MOD
       2018-12-11 13:19:38 +08:00
    在微软维护 notepad.exe 的代码会是一种什么样的体验
    rabbit
        10
    rabbit  
       2018-12-11 13:22:13 +08:00
    流啤!
    终于更新了.....
    vissssa
        11
    vissssa  
       2018-12-11 13:23:52 +08:00
    不容易 虽然不会去用
    jasonyang9
        12
    jasonyang9  
       2018-12-11 13:24:16 +08:00
    一个最基本的文本编辑工具需要和 OS 的升级捆绑起来,牛
    cchange
        13
    cchange  
       2018-12-11 13:29:17 +08:00 via iPhone
    bigtan
        14
    bigtan  
       2018-12-11 13:37:15 +08:00
    一直都用 notepad2-mod 来替代 notepad

    简洁美观
    Navee
        15
    Navee  
       2018-12-11 13:39:35 +08:00
    怕不是个史诗级 bug
    msg7086
        16
    msg7086  
       2018-12-11 13:41:21 +08:00   ❤️ 1
    我怎么感觉我已经有至少十几年没认真用过记事本了。
    只是让你记事用的软件你拿来做文本编辑真的好吗。
    xlui
        17
    xlui  
       2018-12-11 13:42:51 +08:00 via iPhone
    不影响我继续用 notepad++ :)
    hihipp
        18
    hihipp  
       2018-12-11 13:43:18 +08:00   ❤️ 1
    估计是系统底层在改,其他程序也要做适配了。

    控制面版 - 区域 - 管理 - 更改系统区域设置,有个 Beta 功能正在测试。

    g531956119
        19
    g531956119  
       2018-12-11 13:56:14 +08:00 via Android
    @hihipp 这个早有了,我 1803 的时候就看见了
    Love4Taylor
        20
    Love4Taylor  
       2018-12-11 13:57:16 +08:00
    现在是真的不敢踩坑预览版
    luckbbs
        21
    luckbbs  
       2018-12-11 14:04:07 +08:00   ❤️ 1
    都不用 gvim 吗
    xxgirl2
        22
    xxgirl2  
       2018-12-11 14:04:17 +08:00
    确实难得。历史遗留的各种兼容性问题是真的烦。
    lzyfred
        23
    lzyfred  
       2018-12-11 14:08:54 +08:00
    @lisonfan VSCODE 还是重也不是原生应用,一般不集成到系统
    moposx
        24
    moposx  
       2018-12-11 14:09:13 +08:00 via Android   ❤️ 2
    @hihipp 就是这个功能,打开之后,英雄联盟能登录 能匹配 就是进不去游戏(弹窗报 bug )( wegame 启动)
    如果直接启动你会发现服务器列表全部是问号...
    oneonesv
        25
    oneonesv  
       2018-12-11 14:21:22 +08:00
    这要更新了怕不是好多程序要挂啊
    xmt328
        26
    xmt328  
       2018-12-11 14:27:14 +08:00
    @hihipp 我尝试打开过一段时间,命令行是好用了,但是不少软件有显示问题,估计还得测试一阵子
    atuocn
        27
    atuocn  
       2018-12-11 14:33:04 +08:00
    诺,是不是勾了那个 beta, ffmepg 在 windows 上文件名不出乱码了。
    tyzrj766
        28
    tyzrj766  
       2018-12-11 14:35:29 +08:00   ❤️ 1
    @hihipp 以前就有了,开了这东西一堆程序全是问号,没法用...
    mgzu
        29
    mgzu  
       2018-12-11 14:47:58 +08:00
    @whileFalse 哇,我好像知道之前玩 P 社游戏,改 txt 配置文件,游戏里参数爆炸的原因了。
    lihongjie0209
        30
    lihongjie0209  
       2018-12-11 14:55:02 +08:00   ❤️ 1
    @jasonyang9 看看 powershell 就知道了, 要用一些库竟然要升级
    imn1
        31
    imn1  
       2018-12-11 15:08:16 +08:00
    @hihipp
    这个不能随便改,我试过,然后一堆旧软件废掉,没法用,问题是这些好用的软件很多都停止开发了,几乎没有替代版本
    特别是没法替代的国内券商软件,总不能电话、页面交易吧
    jejer
        32
    jejer  
       2018-12-11 15:15:33 +08:00
    linux 换行兼容了吗
    yinanc
        33
    yinanc  
       2018-12-11 15:26:21 +08:00 via iPhone
    @jasonyang9 甚至 edge,一个最基本的浏览器的升级都是和系统升级捆绑的,相比 chrome,是不是觉得不可思议?
    des
        34
    des  
       2018-12-11 15:34:56 +08:00 via Android
    @imn1
    试试 locale Emulator ?
    jasonyang9
        35
    jasonyang9  
       2018-12-11 15:38:01 +08:00
    @yinanc #33 Ars 撰文分析过了,Edge 的版本不统一或严重碎片化是 MS 自己作出来的,也是被放弃的主要原因

    ```
    But it turns out this isn't enough to bridge the compatibility gap. If every Edge user were using the very latest version of Edge, it wouldn't be so bad, but that's not the case, and that's because of how Microsoft has bundled Edge with Windows 10. Most home users will end up running the latest feature update to Windows 10 within a few months of its release. But enterprise users are more diverse. An enterprise that has rolled out Windows 10 version 1709 to 10,000 seats may follow that by deploying version 1803 to another 10,000. The systems with 1709 will stick with 1709 — after all, it's still supported — as the enterprise focuses its resources on getting legacy systems onto "some version of Windows 10," rather than getting every Windows 10 user onto the same version of Windows 10.

    The result is that all those compatibility, stability, and feature improvements made in versions 1803 and 1809 will be completely off-limits to the machines running 1709. This means that Edge, already a relatively small target for Web developers to think about, suffers major version fragmentation. Contrast this with Chrome, where within a few days of a new version coming out, almost the entire user base is migrated.

    This coupling with Windows 10 similarly means that there's no facility to offer Edge to Windows 7 or even macOS users.

    It's this issue that's perhaps the lethal, killer blow for Edge. If every Edge installation were always the latest and greatest one, and if corporations could standardize on Edge across their entire fleet — including Windows 7 systems, including Macs — then the browser might just have been a big enough, consistent enough target that it would be sustainable. But Redmond has decided that it isn't. Microsoft did consider decoupling the browser from Windows 10 so that it could be updated on its own cadence and so that it could be ported to Windows 7 (if not macOS), but for reasons that are unclear, it decided that the work to do this would be too substantial.
    ```

    而这个小小的 Notepad 竟然也跟 OS 耦合在一起,真是牛。
    1v9
        36
    1v9  
    OP
       2018-12-11 15:49:00 +08:00
    @jejer 坚持 CRLF 核心一百年不动摇
    Smilecc
        37
    Smilecc  
       2018-12-11 17:01:11 +08:00
    @Navee 不是 Bug,是微软对历史的坚持
    geelaw
        38
    geelaw  
       2018-12-11 17:07:23 +08:00 via iPhone   ❤️ 2
    @cchange #13 二手信息不准确。我似乎在想 V2EX 看过好几次以讹传讹了,所以特此更正一下。

    微软的产品绝不可能是退休的人在维护。CNBeta 里面提到的 Raymond Chen,正确的内容:

    In the years leading up to his retirement, my colleague was, among other things, responsible for maintaining Notepad.

    是那个人退休前在维护,退休了就没有权利也没有义务维护了。现在维护 Notepad 的显然是另一个人 /团队。
    zhouyut001
        39
    zhouyut001  
       2018-12-11 18:21:56 +08:00
    notepad++路过
    ritaswc
        40
    ritaswc  
       2018-12-11 18:23:50 +08:00
    我问一下,这个支持彩色字么,输出彩色字乱码很难受啊
    1v9
        41
    1v9  
    OP
       2018-12-11 18:30:35 +08:00
    emeab
        43
    emeab  
       2018-12-11 22:33:34 +08:00
    微软现在好起来了. 真的是风水轮流转嗷
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4023 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 00:58 · PVG 08:58 · LAX 17:58 · JFK 20:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.