티스토리 뷰

공부

[Linux] File encoding

승가비 2021. 11. 5. 12:31
728x90
file -bi myfile.txt

https://stackoverflow.com/questions/1730878/encoding-of-file-shell-script

 

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[Java] Integer.MAX_VALUE & Integer.MIN_VALUE  (0) 2021.11.05
[Java] List<Integer> -> int array[]  (0) 2021.11.05
[Java] JVM encoding  (0) 2021.11.05
[Java] RestTemplate timeout  (0) 2021.11.05
[Github] Creating a personal access token  (0) 2021.09.11
댓글