Skip to main content
Glama

Encoding MCP Server

by whyjp

convert_file_encoding

Convert file encoding to prevent character issues, supporting UTF-8, CP949, EUC-KR, ASCII with optional backup.

Instructions

파일을 지정된 인코딩으로 변환합니다. 자동 백업 지원.

Input Schema

NameRequiredDescriptionDefault
backupNo원본 파일 백업 여부
directory_pathYes파일이 있는 디렉터리의 절대 경로
file_nameYes변환할 파일명 (예: hello.cpp, test.h)
target_encodingNo목표 인코딩utf-8-bom

Input Schema (JSON Schema)

{ "properties": { "backup": { "default": true, "description": "원본 파일 백업 여부", "type": "boolean" }, "directory_path": { "description": "파일이 있는 디렉터리의 절대 경로", "type": "string" }, "file_name": { "description": "변환할 파일명 (예: hello.cpp, test.h)", "type": "string" }, "target_encoding": { "default": "utf-8-bom", "description": "목표 인코딩", "enum": [ "utf-8-bom", "utf-8", "cp949", "euc-kr", "ascii" ], "type": "string" } }, "required": [ "file_name", "directory_path" ], "type": "object" }

Other Tools from Encoding MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/whyjp/encoding_mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server