본문 바로가기 메뉴 바로가기

@@

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

@@

검색하기 폼
  • 분류 전체보기 (29)
    • Fun Stuff (21)
      • Greenfingering (4)
    • ICT (7)
      • Ubuntu 16.04LTS (2)
      • GIT-MacOS (1)
      • vscode (2)
    • How to WRITE (1)
  • 방명록

MacOS 사용시 윈도우작성 파일의 한글깨짐

맥에서 보낸 파일명에 한글이 포함되면 자음과 모음이 분리되서 전달되는 경우가 있었지만, 딱히 불편한점은 없어 다른 조치를 취하지 않았다. 하지만 C programming 을 하면서 제출한 소스코드중에 한글이 모두 깨져 있어 채점이 불가했다. 윈도우즈와 맥에서 사용하는 한글의 인코딩 방법의 차이에 따른 이유이다. (맥에서 저장한 한글 소스도 윈도우스에서는 깨지고, 그 반대의 경우도 마찬가지) 윈도우스는 cp949를 사용하고, 맥은 utf-8을 사용 iconv -f (변경전 인코딩) -t (변경하려는 인코딩) 변경후 인코딩된 파일 1. 윈도우스에서 만들어진 예제소스파일 (파일명:sourcewin.c )을 맥에 설치된 vscode로 컴파일을 한다고 하면, 터미널을 열고, iconv..

ICT/vscode 2021. 3. 12. 00:39
shell command : code

vscode를 설치하고 tutorial (code.visualstudio.com/docs)을 따라하다보면 작동이 안될때가 있다. 다음의 경우도 그럴때.. 지금 나는 MacBook Pro Catalina가 설치된 상태이다. Create an empty folder called "hello", navigate into and open VS Code: mkdir hello cd hello code . Tip: You can open files or folders directly from the command line. The period '.' refers to the current folder, therefore VS Code will start and open the Hello folder. 위의 작업은 ..

ICT/vscode 2021. 1. 21. 14:30
xcrun error

GIT을 사용하려할때, 다음의 에러msg가 나온다면, xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcode 명령어 라인 개발자 도구가 필요하다는 말.. % xcode-select --install xcode-select: note: install requested for command line developer tools

ICT/GIT-MacOS 2020. 10. 2. 11:05
이전 1 2 3 4 ··· 10 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • C소스파일한글
  • 볼더 콜로라도
  • 맥북
  • 후즈후
  • 미정국수
  • zsh:commandnotfound:code
  • 제주컨벤션센터
  • 오사카 도톰보리 타코야끼
  • 옥잠화
  • 맥북한글깨짐
  • 루꼴라
  • 공주칼국수
  • 오픈스택써밋
  • C언어한글
  • 대전 중앙시장 개천식당
  • 스코네 스웨덴식당
  • Free writing
  • gd
  • 맥 윈도우 한글텍스트 깨짐
  • 호접란
  • 한글깨짐
  • C프로그램
  • Microsoft Sculpt Ergonomic Mouse
  • shell #Mac #vscode #code
  • 리무진버스시간표
more
«   2025/10   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바