This is a discussion on how to check encoding mode of files in IBM AIX? within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi all, Is there any command to check the format of file in IBM AIX 5.3. Like is the ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| mailspuneet@gmail.com wrote: > Is there any command to check the format of file in IBM AIX 5.3. Like > is the file in UTF-8 or UNICODE format? All data is just bytes - what a certain program interprets those bytes to be is up to that program. |
| ||||
| mailspuneet@gmail.com writes: > Is there any command to check the format of file in IBM AIX 5.3. Like > is the file in UTF-8 or UNICODE format? The file(1) command does this. The standard "magic" file on 5.3 does not however recognize eg UTF-8 specifically, so you will probably want to copy a more comprehensive one from somewhere else. |