본문 바로가기

my_lesson325

Windows - cmd 에서 utf-8 로 인코딩 변환하기 Windows - cmd 에서 utf-8 로 인코딩 변환하기 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position 2: invalid start byte encoding='utf8' >> encoding 속성값을 euc-kr , cp049 등으로 바꾸어 보자 20210807 : windows cmd 창으로 vim을 열어서 작성된 정규식 코드중 askii코드가 아닌 문자들이 깨지면서 발생한다. 문서 상단에 # -*- encoding=utf-8 -*-을 해보앗으나 소용없었다. .vimrc set encoding=utf-8 도 소용없었다. 문제는 cmd자체의 입력 방식이 문제인듯하다. 오류가 나는 부분만 notepad나 사용하는 IDE를 이.. 2022. 1. 13.
Windows - cmd 에서 touch와 같은기능을 하는 함수 cmd 에서 touch와 같은기능을 하는 함수 type nul > test.txt --> 0bytes test.txt 문서를 만든다 echo > test.txt --> 13bytes test.txt 문서를 만든다 type 명령은 파일 컨트롤 (다수의 파일 합치기등에 유용하다) echo 명령은 문자열 한줄 컨트롤(간단한 문장을 주가 할 때 유용하다) copy con 명령은 문자열 여러줄 컨트롤(여러줄의 문장을 새로 생성 할 때 유용하다) > 와 >>의 사용법 type test.txt test1.txt > test3.txt --> test.txt와 test1.txt 파일을 합쳐서 test3.txt파일을 새로 만들거나 기존 파일의 내용을 지우고 새로 입력한다. type test2.txt test4.txt >>.. 2022. 1. 10.
C++_ Verry simple Crawler(C++20) 원작자 :웹페이지 이미지 크롤링 [ C++20 ] 웹페이지 이미지 크롤링 [ C++20 ] 개발환경 >> Visual Studio 언어 >> C++20 운영체제 >> Windows10 안녕하세요~!~!~!~!!! 이번에는 C++로 간단하게 웹페이지 이미지 크롤링 자동화를 만들어 보겠습니다. 우선 이번에 사용할 사이트는 pokemonkorea mawile.tistory.com #include #include #pragma comment(lib, "urlmon.lib") int main() { //url to crawling const char base[] = "https://data1.pokemonkorea.co.kr/newdata/pokedex/full/"; //folder path to save //I.. 2021. 5. 7.
Canvas - 15 Create HyperLink in Canvas Canvas - 15 Create HyperLink in Canvas 콘텐츠 제작 진행중 Canvas - Insert HyperLink Canvas - Clickevent https://stackoverflow.com/questions/9880279/how-do-i-add-a-simple-onclick-event-handler-to-a-canvas-element 2021. 1. 8.
an_15 C++ Android NDK [Vsual Studio] - Error an_15 C++ Android NDK [Vsual Studio] - ErrorErrorUnable to start debugging.Android command 'run-as' failed.Package 'com.Android4' os unknown. Troubleshoothing steps: Ctrl + F5-Try launching the app from the applist. If the app os not in the app list, or cannot be started, this may indicae a problem with the app deployment. -Make sure that you have installed all updates available for your device... 2020. 12. 16.
an_14 an_14 2020. 12. 16.