성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] systemd for Developers I ; https:/...
[정성태] 엄밀히 object 타입의 인스턴스가 다른 타입으로 형변환 가능...
[정성태] 아래의 글에서 나오는 "Windows Application Pa...
[정성태] The history of calling conventions,...
[정성태] Secure and Deploy .NET Windows Form...
[정성태] Get Started with Milvus Vector DB i...
[정성태] cyberark/PipeViewer - A tool that...
[정성태] WinForms in a 64-Bit world – our st...
[정성태] 예제에서 SELECT_SQL도 내부적으로는 SqlCommand/...
[victor] SELECT_LINQ SELECT_SQL 같은 쿼리인...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>탐색기의 보안 탭에 있는 "Object name" 경로에 LEFT-TO-RIGHT EMBEDDING 제어 문자가 포함되는 문제</h1> <p> 흥미로운 글이 있군요. ^^<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > 파일 경로 복사를 어디서 하는가에 따라 발생할 수 있는 문제 ; <a target='tab' href='https://forum.dotnetdev.kr/t/topic/507'>https://forum.dotnetdev.kr/t/topic/507</a> </pre> <br /> 그러니까, 윈도우 탐색기에서 제공하는 파일 속성 창의 보안 탭에 있는 경로(Object name)를 복사하면 이상한 값이 포함된다는 것입니다.<br /> <br /> <img alt='object_name_with_mark_1.png' src='/SysWebRes/bbs/object_name_with_mark_1.png' /><br /> <br /> 실제로 저 경로를 긁어서 복사 후 파일에 붙여넣기해 hex 덤프를 하면 다음과 같이,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > E2 80 AA 43 3A 5C 55 73 65 72 73 5C 64 65 73 6B 74 6F 70 2E 69 6E 69 </pre> <br /> 0xe2, 0x80, 0xaa 3바이트가 추가된 것을 볼 수 있습니다. 이 값은 0x202a(10진수 8234)에 대해 UTF-8 인코딩한 값이어서,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Unicode Character 'LEFT-TO-RIGHT EMBEDDING' (U+202A) ; <a target='tab' href='https://www.fileformat.info/info/unicode/char/202a/index.htm'>https://www.fileformat.info/info/unicode/char/202a/index.htm</a> How to use Unicode controls for bidi text ; <a target='tab' href='https://www.w3.org/International/questions/qa-bidi-unicode-controls.en'>https://www.w3.org/International/questions/qa-bidi-unicode-controls.en</a> LRE: sets base direction to LTR but allows embedded text to interact with surrounding content, so risk of spillover effects </pre> <br /> 결국 Object name으로 출력된 텍스트 박스에 (일종의 \t와 같은 뷰류의) LRE 제어 문자가 함께 있었던 것입니다.<br /> <br /> <hr style='width: 50%' /><br /> <br /> 참고로, 이러한 유의 문제로 고생한 흔적들이 웹 상에 남아 있군요. ^^<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Why is "%E2%80%8F" being appended to URL when I copy and paste URL from emails on Outlook? ; <a target='tab' href='https://stackoverflow.com/questions/33189284/why-is-e2808f-being-appended-to-url-when-i-copy-and-paste-url-from-emails-o'>https://stackoverflow.com/questions/33189284/why-is-e2808f-being-appended-to-url-when-i-copy-and-paste-url-from-emails-o</a> Why is %E2%80%8F being added to my Youtube embed code? ; <a target='tab' href='https://stackoverflow.com/questions/21470476/why-is-e2808f-being-added-to-my-youtube-embed-code'>https://stackoverflow.com/questions/21470476/why-is-e2808f-being-added-to-my-youtube-embed-code</a> weird characters such as ‪ ‬ ‏ ; <a target='tab' href='https://stackoverflow.com/questions/6067808/weird-characters-such-as-x202a-x202c-rlm'>https://stackoverflow.com/questions/6067808/weird-characters-such-as-x202a-x202c-rlm</a> 0x202A in filename: Why? ; <a target='tab' href='https://stackoverflow.com/questions/24037882/0x202a-in-filename-why'>https://stackoverflow.com/questions/24037882/0x202a-in-filename-why</a> </pre> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
2015
(왼쪽의 숫자를 입력해야 합니다.)