detect_file_encoding
Detect file encoding to prevent character display issues in Windows build environments, supporting C++ and PowerShell files with professional library analysis.
Instructions
전문적인 라이브러리를 사용하여 파일의 인코딩을 정확하게 감지합니다.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
directory_path | Yes | 파일이 있는 디렉터리의 절대 경로 | |
file_name | Yes | 확인할 파일명 (예: hello.cpp, test.h) | |
max_bytes | No | 분석할 최대 바이트 수 (기본값: 8192) |
Input Schema (JSON Schema)
{
"properties": {
"directory_path": {
"description": "파일이 있는 디렉터리의 절대 경로",
"type": "string"
},
"file_name": {
"description": "확인할 파일명 (예: hello.cpp, test.h)",
"type": "string"
},
"max_bytes": {
"default": 8192,
"description": "분석할 최대 바이트 수 (기본값: 8192)",
"maximum": 65536,
"minimum": 512,
"type": "integer"
}
},
"required": [
"file_name",
"directory_path"
],
"type": "object"
}