Menu

#1050 エンコーディング名による文字コードの設定の修正

open
nobody
None
5
2018-02-18
2016-04-05
Moca
No

・いくつかのエンコーディング名の別名を追加
MS932やSJIS、ハイフン・アンダーバー考慮
・xml encoding名が不明な名前だった場合にUTF-8と認識されるバグを修正
例 <?xml version="1.0" encoding="MS932" ?>
・xml宣言がありencoding名がない場合は、UTF-8固定だった(規格どおり)ものを自動認識を優先してそれでも不明ならUTF-8にするように修正

1 Attachments

Discussion

  • Moca

    Moca - 2016-04-10

    CCodeMediatorの修正が漏れていたのを直した

     
  • novice123

    novice123 - 2017-09-24
     
  • novice123

    novice123 - 2017-11-05

    コメント追加しました。

     
  • novice123

    novice123 - 2017-11-19

    for文のループ条件を配列の要素数に変更しました。

     
  • novice123

    novice123 - 2018-02-18

    変更前のfor文にあったbreakが残っていたので削除しました。

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.