Chanhong's Program Blog

  • 홈
  • 태그
  • 방명록

특수문자 깨짐 1

[C#] 파일 읽고 쓰는 중 한글, 특수 문자가 깨지면 UTF8 을 사용하자

// 파일 쓰기using (var fileStream = new FileStream(PATH, FileMode.Truncate, FileAccess.Write, FileShare.ReadWrite))using (var writer = new StreamWriter(fileStream, Encoding.UTF8))// 파일 읽기using (var fileStream = new FileStream(INPUTLIST_PATH, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))using (var reader = new StreamReader(fileStream, Encoding.UTF8)) StreamWriter / StreamReader 의 매개변수에 Encodi..

WPF 2024.08.28
이전
1
다음
더보기
프로필사진

Chanhong's Program Blog

나만의 개발 블로그

  • 분류 전체보기 (34)
    • IDE (1)
      • Visual Studio (1)
    • WPF (21)
    • 통신 (0)
      • Serial (0)
      • HSMS (0)
      • Linux (0)
      • Mitsubishi PLC (0)
      • Simens PLC (0)
      • Socket (0)
      • OPCUA (0)
      • RestAPI (0)
    • 정보 공유 (3)
      • Nuget (3)
      • 프리웨어 (0)
    • SQL (3)
      • Postgre (2)

Tag

changepropertyaction, busyindicator, horizontalcontentalignment, Postgre, windowchrome, windows.data error 4, pgAdmin4, shadow, entityframeworkcore, popup, PostgreSQL, verticalcontentalignment, binding error, continuewith, 특수문자 깨짐, cancellationtokensource, WPF, load view, TextBox, 한글 분리,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바