Skip to content

Commit

Permalink
Merge pull request #11 from 1000TurquoisePogs/bugfix/zos-charset-enco…
Browse files Browse the repository at this point in the history
…ding

Bugfix/zos charset encoding
  • Loading branch information
rpenny125 authored Jan 3, 2019
2 parents 11c0998 + 280b23c commit 6f24aae
Showing 1 changed file with 53 additions and 7 deletions.
60 changes: 53 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,53 @@
# Default to EBCDIC unless otherwise specified
* working-tree-encoding=ibm-1047 git-encoding=iso8859-1

# The git attributes and ignore files MUST be ASCII
*.gitattributes working-tree-encoding=iso8859-1 git-encoding=iso8859-1
*.gitignore working-tree-encoding=iso8859-1 git-encoding=iso8859-1
sonar-project.properties git-encoding=iso8859-1 working-tree-encoding=iso8859-1
# This .gitattributes file will cause all text files EXCEPT for
# git's .gitattributes and .gitignore files to be encoded as EBCDIC.
# Selected binary files will not be translated at all.
# The default for text files
* git-encoding=iso8859-1 zos-working-tree-encoding=ibm-1047
# git's files (which MUST be ASCII)
.gitattributes git-encoding=iso8859-1 zos-working-tree-encoding=iso8859-1
.gitignore git-encoding=iso8859-1 zos-working-tree-encoding=iso8859-1
# Binary files, selected by file extension.
#
# Note that "Binary" really just means "Not touched when moved
# between the git repository and the working tree." In some cases
# these are actually UTF-8 or CP1251 (the usual Windows code page).
#
# If you don't have these in your tree, removing these from the
# .gitattributes file will speed up git's processing a bit.
#
# While it would make sense to have BINARY be BINARY on all platforms,
# Other platforms don't use the BINARY term, But do recognize "binary" macro
*.jpg git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.crx git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.eot git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.fdt git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.fdx git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.gen git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.gif git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.gz git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.ico git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.jar git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.jpg git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.node git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.otf git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.png git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.PNG git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.resources git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.scss git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.segments_1 git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.so git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.svg git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.swp git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.tar git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.tgz git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.tii git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.tis git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.tree git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.ttf git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.woff git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.woff2 git-encoding=BINARY zos-working-tree-encoding=BINARY binary
*.zip git-encoding=BINARY zos-working-tree-encoding=BINARY binary
# Always use LF for npm package files because npm cli likes to change line endings.
package*.json text eol=lf
# sonar scanning
sonar-project.properties git-encoding=iso8859-1 zos-working-tree-encoding=iso8859-1

0 comments on commit 6f24aae

Please sign in to comment.