Ticket #38932

文字コードと改行コードが統一されていません

Open Date: 2019-02-05 22:30 Last Update: 2019-08-16 00:31

Reporter:
(Anonymous)
Owner:
Status:
Closed
Component:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

ソースファイルの文字コードと改行コードが統一されていないようです。統一した方が良いと思います。

尚、UTF-8 Unicode (with BOM) text が多いようです。(改行コードはLF)

./src/angband.h:          C source, UTF-8 Unicode (with BOM) text
./src/artifact.c:         C source, UTF-8 Unicode (with BOM) text
./src/artifact.h:         C source, UTF-8 Unicode (with BOM) text
./src/autopick.c:         C source, UTF-8 Unicode (with BOM) text
./src/avatar.c:           C source, UTF-8 Unicode (with BOM) text
./src/avatar.h:           C source, UTF-8 Unicode (with BOM) text
./src/birth.c:            C source, UTF-8 Unicode (with BOM) text, with very long lines
./src/bldg.c:             C source, UTF-8 Unicode (with BOM) text
./src/cave.c:             C source, UTF-8 Unicode (with BOM) text
./src/chest.c:            C source, UTF-8 Unicode (with BOM) text
./src/chest.h:            C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/chuukei.c:          C source, UTF-8 Unicode (with BOM) text
./src/cmd-activate.c:     C source, UTF-8 Unicode (with BOM) text
./src/cmd-activate.h:     C source, UTF-8 Unicode (with BOM) text
./src/cmd-eat.c:          C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-eat.h:          C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-item.c:         C source, UTF-8 Unicode (with BOM) text
./src/cmd-item.h:         C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-magiceat.c:     C source, UTF-8 Unicode (with BOM) text
./src/cmd-magiceat.h:     C source, UTF-8 Unicode (with BOM) text
./src/cmd-pet.c:          C source, UTF-8 Unicode (with BOM) text
./src/cmd-pet.h:          C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-quaff.c:        C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-quaff.h:        C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-read.c:         C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-read.h:         C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-spell.c:        C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-spell.h:        C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-usestaff.c:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-usestaff.h:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/cmd-zaprod.c:       C source, UTF-8 Unicode (with BOM) text
./src/cmd-zaprod.h:       C source, UTF-8 Unicode (with BOM) text
./src/cmd-zapwand.c:      C source, UTF-8 Unicode (with BOM) text
./src/cmd-zapwand.h:      C source, UTF-8 Unicode (with BOM) text
./src/cmd2.c:             C source, UTF-8 Unicode (with BOM) text
./src/cmd4.c:             C source, UTF-8 Unicode (with BOM) text
./src/defines.h:          C source, UTF-8 Unicode (with BOM) text
./src/dungeon.c:          C source, UTF-8 Unicode (with BOM) text
./src/effects.c:          C source, UTF-8 Unicode (with BOM) text
./src/externs.h:          C source, UTF-8 Unicode (with BOM) text
./src/files.c:            C source, UTF-8 Unicode (with BOM) text
./src/flavor.c:           C source, UTF-8 Unicode (with BOM) text
./src/floor-events.c:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/floor-events.h:     UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/floor-generate.c:   C source, UTF-8 Unicode (with BOM) text
./src/floor-save.c:       C source, UTF-8 Unicode (with BOM) text
./src/floor-streams.c:    C source, UTF-8 Unicode (with BOM) text
./src/floor-streams.h:    C source, UTF-8 Unicode (with BOM) text
./src/floor.h:            UTF-8 Unicode (with BOM) text
./src/gameoption.c:       C source, UTF-8 Unicode (with BOM) text
./src/gameoption.h:       C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/gamevalue.h:        UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/generate.h:         C source, UTF-8 Unicode (with BOM) text
./src/grid.c:             C source, UTF-8 Unicode (with BOM) text
./src/grid.h:             C source, UTF-8 Unicode (with BOM) text
./src/h-basic.h:          C source, UTF-8 Unicode (with BOM) text
./src/h-config.h:         C source, UTF-8 Unicode (with BOM) text
./src/h-define.h:         C source, UTF-8 Unicode (with BOM) text
./src/h-system.h:         C source, UTF-8 Unicode (with BOM) text
./src/h-type.h:           C source, UTF-8 Unicode (with BOM) text
./src/hissatsu.c:         C source, UTF-8 Unicode (with BOM) text
./src/history.c:          C source, UTF-8 Unicode (with BOM) text
./src/history.h:          C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/inet.c:             C source, UTF-8 Unicode (with BOM) text
./src/init.h:             C source, UTF-8 Unicode (with BOM) text
./src/init1.c:            C source, UTF-8 Unicode (with BOM) text
./src/init2.c:            C source, UTF-8 Unicode (with BOM) text
./src/japanese.c:         C source, UTF-8 Unicode (with BOM) text
./src/load.c:             C source, UTF-8 Unicode (with BOM) text
./src/maid-x11.c:         C source, UTF-8 Unicode (with BOM) text
./src/main-cap.c:         C source, UTF-8 Unicode (with BOM) text
./src/main-dos.c:         C source, UTF-8 Unicode (with BOM) text
./src/main-gcu.c:         C source, UTF-8 Unicode (with BOM) text
./src/main-ibm.c:         C source, UTF-8 Unicode (with BOM) text
./src/main-mac.c:         C source, UTF-8 Unicode (with BOM) text
./src/main-win.c:         C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/main-x11.c:         C source, UTF-8 Unicode (with BOM) text
./src/main-xaw.c:         C source, UTF-8 Unicode (with BOM) text
./src/main.c:             C source, UTF-8 Unicode (with BOM) text
./src/mane.c:             C source, UTF-8 Unicode (with BOM) text
./src/melee.h:            C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/melee1.c:           C source, UTF-8 Unicode (with BOM) text
./src/mind.c:             C source, UTF-8 Unicode (with BOM) text
./src/monster-process.c:  C source, UTF-8 Unicode (with BOM) text
./src/monster-status.c:   C source, UTF-8 Unicode (with BOM) text
./src/monster-status.h:   C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/monster.h:          C source, UTF-8 Unicode (with BOM) text
./src/monster1.c:         C source, UTF-8 Unicode (with BOM) text
./src/monster2.c:         C source, UTF-8 Unicode (with BOM) text
./src/monsterrace-hook.c: C source, UTF-8 Unicode (with BOM) text, with very long lines
./src/monsterrace-hook.h: C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/mspells1.c:         C source, UTF-8 Unicode (with BOM) text
./src/mspells2.c:         C source, UTF-8 Unicode (with BOM) text
./src/mspells3.c:         C source, UTF-8 Unicode (with BOM) text
./src/mspells4.c:         C source, UTF-8 Unicode (with BOM) text
./src/mutation.c:         C source, UTF-8 Unicode (with BOM) text
./src/mutation.h:         C source, UTF-8 Unicode (with BOM) text
./src/object-curse.c:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/object-curse.h:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/object-hook.c:      C source, UTF-8 Unicode (with BOM) text
./src/object-hook.h:      C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/object1.c:          C source, UTF-8 Unicode (with BOM) text
./src/object2.c:          C source, UTF-8 Unicode (with BOM) text
./src/objectkind-hook.c:  C source, UTF-8 Unicode (with BOM) text
./src/objectkind-hook.h:  UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/obj_kind.c:         C source, UTF-8 Unicode (with BOM) text
./src/patron.c:           C source, UTF-8 Unicode (with BOM) text
./src/patron.h:           C source, UTF-8 Unicode (with BOM) text
./src/player-damage.c:    C source, UTF-8 Unicode (with BOM) text
./src/player-damage.h:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/player-move.c:      C source, UTF-8 Unicode (with BOM) text
./src/player-status.c:    C source, UTF-8 Unicode (with BOM) text
./src/player-status.h:    C source, UTF-8 Unicode (with BOM) text
./src/projection.c:       C source, UTF-8 Unicode (with BOM) text
./src/projection.h:       C source, UTF-8 Unicode (with BOM) text
./src/quest.c:            C source, UTF-8 Unicode (with BOM) text
./src/quest.h:            C source, UTF-8 Unicode (with BOM) text
./src/racial.c:           C source, UTF-8 Unicode (with BOM) text
./src/readdib.c:          C source, UTF-8 Unicode (with BOM) text
./src/readdib.h:          UTF-8 Unicode (with BOM) text
./src/realm-arcane.c:     C source, UTF-8 Unicode (with BOM) text
./src/realm-arcane.h:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-chaos.c:      C source, UTF-8 Unicode (with BOM) text
./src/realm-chaos.h:      C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-craft.c:      C source, UTF-8 Unicode (with BOM) text
./src/realm-craft.h:      UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-crusade.c:    C source, UTF-8 Unicode (with BOM) text
./src/realm-crusade.h:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-daemon.c:     C source, UTF-8 Unicode (with BOM) text
./src/realm-daemon.h:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-death.c:      C source, UTF-8 Unicode (with BOM) text
./src/realm-death.h:      C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-hex.c:        C source, UTF-8 Unicode (with BOM) text
./src/realm-hex.h:        C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-hissatsu.c:   C source, UTF-8 Unicode (with BOM) text
./src/realm-hissatsu.h:   C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-life.c:       C source, UTF-8 Unicode (with BOM) text
./src/realm-life.h:       C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-nature.c:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-nature.h:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-song.c:       C source, UTF-8 Unicode (with BOM) text
./src/realm-song.h:       C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-sorcery.c:    C source, UTF-8 Unicode (with BOM) text
./src/realm-sorcery.h:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/realm-trump.c:      C source, UTF-8 Unicode (with BOM) text
./src/realm-trump.h:      C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/report.c:           C source, UTF-8 Unicode (with BOM) text
./src/rooms-city.c:       C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-city.h:       C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-fractal.c:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-fractal.h:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-normal.c:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-normal.h:     C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-pitnest.c:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-pitnest.h:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-special.c:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-special.h:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-trap.c:       C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-trap.h:       C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-vault.c:      C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms-vault.h:      C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/rooms.c:            C source, UTF-8 Unicode (with BOM) text
./src/rooms.h:            C source, UTF-8 Unicode (with BOM) text
./src/rumor.c:            C source, UTF-8 Unicode (with BOM) text
./src/rumor.h:            C source, UTF-8 Unicode (with BOM) text
./src/save.c:             C source, UTF-8 Unicode (with BOM) text
./src/scores.c:           C source, UTF-8 Unicode (with BOM) text
./src/selfinfo.c:         C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/selfinfo.h:         C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/shoot.c:            C source, UTF-8 Unicode (with BOM) text
./src/shoot.h:            C source, UTF-8 Unicode (with BOM) text
./src/snipe.c:            C source, UTF-8 Unicode (with BOM) text
./src/sort.c:             C source, UTF-8 Unicode (with BOM) text
./src/sort.h:             C source, UTF-8 Unicode (with BOM) text
./src/spells-diceroll.c:  C source, UTF-8 Unicode (with BOM) text
./src/spells-diceroll.h:  C source, UTF-8 Unicode (with BOM) text
./src/spells-object.c:    C source, UTF-8 Unicode (with BOM) text
./src/spells-object.h:    C source, UTF-8 Unicode (with BOM) text
./src/spells-status.c:    C source, Non-ISO extended-ASCII text
./src/spells-status.h:    C source, ASCII text
./src/spells-summon.c:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/spells-summon.h:    C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/spells.h:           C source, UTF-8 Unicode (with BOM) text
./src/spells1.c:          C source, UTF-8 Unicode (with BOM) text
./src/spells2.c:          C source, UTF-8 Unicode (with BOM) text
./src/spells3.c:          C source, UTF-8 Unicode (with BOM) text
./src/store.c:            C source, UTF-8 Unicode (with BOM) text
./src/store.h:            C source, Non-ISO extended-ASCII text, with CRLF line terminators
./src/tables.c:           C source, UTF-8 Unicode (with BOM) text
./src/trap.c:             C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/trap.h:             C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/types.h:            C source, UTF-8 Unicode (with BOM) text
./src/util.c:             C source, UTF-8 Unicode (with BOM) text
./src/variable.c:         C source, UTF-8 Unicode (with BOM) text
./src/view-mainwindow.c:  C source, UTF-8 Unicode (with BOM) text
./src/wild.c:             C source, UTF-8 Unicode (with BOM) text
./src/wizard1.c:          C source, UTF-8 Unicode (with BOM) text
./src/wizard2.c:          C source, UTF-8 Unicode (with BOM) text
./src/world.c:            C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/world.h:            C source, UTF-8 Unicode (with BOM) text, with CRLF line terminators
./src/xtra2.c:            C source, UTF-8 Unicode (with BOM) text
./src/z-config.h:         C source, UTF-8 Unicode (with BOM) text
./src/z-form.c:           C source, UTF-8 Unicode (with BOM) text
./src/z-form.h:           C source, UTF-8 Unicode (with BOM) text
./src/z-rand.c:           C source, UTF-8 Unicode (with BOM) text
./src/z-rand.h:           C source, UTF-8 Unicode (with BOM) text
./src/z-term.c:           C source, UTF-8 Unicode (with BOM) text
./src/z-term.h:           C source, UTF-8 Unicode (with BOM) text
./src/z-util.c:           C source, UTF-8 Unicode (with BOM) text
./src/z-util.h:           C source, UTF-8 Unicode (with BOM) text
./src/z-virt.c:           C source, UTF-8 Unicode (with BOM) text
./src/z-virt.h:           C source, UTF-8 Unicode (with BOM) text

Ticket History (3/5 Histories)

2019-02-05 22:30 Updated by: None
  • New Ticket "文字コードと改行コードが統一されていません" created
2019-02-05 23:30 Updated by: deskull
Comment

どうもいけませんね、何度も直した直したと思って抜けているようです。修正します。

2019-02-14 23:42 Updated by: deskull
Comment

直したと思っていたものがまた直っていなかったりしているので、Gitクライアントなどから見直し中。

2019-02-17 09:01 Updated by: None
2019-08-16 00:31 Updated by: deskull
  • Status Update from Open to Closed
Comment

https://osdn.net/projects/hengband/scm/git/hengband/commits/622caf1bf60304a5511688fccff246c86740e19a で、windowsではUTF-8 BOM(crlf)に統一した。チケット完了。

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login