'unicode'에 해당되는 글 3건

  1. 2015.09.10 MySQL Workbench EER Diagram Unicode 문제
  2. 2015.06.24 OpenCV warning C4819 current code page (949)
  3. 2015.05.22 Indy Send Unicode 문제

Table의 Attribute 의 한글표기가 제대로 되지 않는다


Unicode 사용가능하게끔 설정을 바꾸어 주어야 한다.

Edit -> Preferences.. 들어가게 되면...

Modeling -> Appearance 항목 선택한 다음,

Western 을 Korean으로 변경한 다음, 파일을 다시 open하면 끝.

결과는 다음과 같다.


- end -



'할거리 > PC' 카테고리의 다른 글

Excel 편집하는데 속도가 너무 느릴 경우  (0) 2015.10.02



opencv2/core/mat.hpp(1965): 

warning C4819: 

The file contains a character that cannot be represented in the current code page (949).

Save the file in Unicode format to prevent data loss



Solution: 

File Save As...

Unicode UTF-8 with signature Codepage 65001


Embarcadero 2009 또는 XE 부터 Unicode 가 도입되면서

기존의  component 들 모두 Unicode 문제에 봉착.


Indy 에서 send / receive 할 때, 한글이 포함되면 ?

당연히 깨진다.


해결방법은 ?


보낼 때 : 

UnnicodeString strSend;

IdUDPClient1->Send(strSend, IndyTextEncoding_UTF8());


받을 때 :

void __fastcall TfrmUDP::IdUDPServer1UDPRead(TIdUDPListenerThread *AThread, TBytes AData, TIdSocketHandle *ABinding)

이 함수에다,

Unicodestring BData = BytesToString(AData, IndyTextEncoding_UTF8());


이렇게 처리해주면 된다.

1 

글 보관함

카운터

Total : / Today : / Yesterday :
get rsstistory!