Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 1개 있습니다.)

탐색기의 보안 탭에 있는 "Object name" 경로에 LEFT-TO-RIGHT EMBEDDING 제어 문자가 포함되는 문제

흥미로운 글이 있군요. ^^

파일 경로 복사를 어디서 하는가에 따라 발생할 수 있는 문제
; https://forum.dotnetdev.kr/t/topic/507

그러니까, 윈도우 탐색기에서 제공하는 파일 속성 창의 보안 탭에 있는 경로(Object name)를 복사하면 이상한 값이 포함된다는 것입니다.

object_name_with_mark_1.png

실제로 저 경로를 긁어서 복사 후 파일에 붙여넣기해 hex 덤프를 하면 다음과 같이,

E2 80 AA 43 3A 5C 55 73 65 72 73 5C 64 65 73 6B 74 6F 70 2E 69 6E 69

0xe2, 0x80, 0xaa 3바이트가 추가된 것을 볼 수 있습니다. 이 값은 0x202a(10진수 8234)에 대해 UTF-8 인코딩한 값이어서,

Unicode Character 'LEFT-TO-RIGHT EMBEDDING' (U+202A)
; https://www.fileformat.info/info/unicode/char/202a/index.htm

How to use Unicode controls for bidi text
; https://www.w3.org/International/questions/qa-bidi-unicode-controls.en

LRE: sets base direction to LTR but allows embedded text to interact with surrounding content, so risk of spillover effects

결국 Object name으로 출력된 텍스트 박스에 (일종의 \t와 같은 뷰류의) LRE 제어 문자가 함께 있었던 것입니다.




참고로, 이러한 유의 문제로 고생한 흔적들이 웹 상에 남아 있군요. ^^

Why is "%E2%80%8F" being appended to URL when I copy and paste URL from emails on Outlook?
; https://stackoverflow.com/questions/33189284/why-is-e2808f-being-appended-to-url-when-i-copy-and-paste-url-from-emails-o

Why is %E2%80%8F being added to my Youtube embed code?
; https://stackoverflow.com/questions/21470476/why-is-e2808f-being-added-to-my-youtube-embed-code

weird characters such as ‪ ‬ ‏
; https://stackoverflow.com/questions/6067808/weird-characters-such-as-x202a-x202c-rlm

0x202A in filename: Why?
; https://stackoverflow.com/questions/24037882/0x202a-in-filename-why




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]

[연관 글]






[최초 등록일: ]
[최종 수정일: 3/28/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 106  107  108  109  110  111  112  113  114  115  [116]  117  118  119  120  ...
NoWriterDateCnt.TitleFile(s)
11025정성태8/12/201622355개발 환경 구성: 294. .NET Core 프로젝트에서 "Copy to Output Directory" 처리 [1]
11024정성태8/12/201621661오류 유형: 350. "nProtect GameMon" 실행 중에는 Visual Studio 디버깅이 안됩니다! [1]
11023정성태8/10/201623199개발 환경 구성: 293. Azure 구독 후 PaaS 서비스 만들어 보기
11022정성태8/10/201623852개발 환경 구성: 292. Azure Cloud Service 배포시 사용자 정의 작업을 추가하는 방법
11021정성태8/10/201620888오류 유형: 349. System.Runtime.Remoting.RemotingException - Type '..., ..., Version=..., Culture=neutral, PublicKeyToken=null' is not registered for activation [2]
11020정성태8/10/201623622VC++: 98. 원본과 대상 버퍼가 같은 경우 memcpy, wmemcpy 주의점
11019정성태8/10/201640290기타: 60. 도서: 시작하세요! C# 6.0 프로그래밍: 기본 문법부터 실전 예제까지 (2쇄 정오표)
11018정성태8/9/201624758.NET Framework: 600. 단일 메서드 내에서의 할당으로 알아보는 자바와 닷넷의 GC 차이점 [1]
11017정성태8/9/201626845웹: 33. HTTP 쿠키에 한글 값을 설정하는 방법
11016정성태8/7/201624029개발 환경 구성: 291. Windows Server Containers 소개
11015정성태8/7/201622274오류 유형: 348. Windows Server 2016 TP5에서 Windows Containers의 docker run 실행 시 encountered an error during Start failed in Win32
11014정성태8/6/201623063오류 유형: 347. Hyper-V Virtual Machine Management service Account does not have permission to open attachment
11013정성태8/6/201633853개발 환경 구성: 290. Windows 10에서 경험해 보는 Windows Containers와 docker [4]
11012정성태8/6/201623912오류 유형: 346. Windows 10에서 Windows Containers의 docker run 실행 시 encountered an error during CreateContainer failed in Win32 발생
11011정성태8/6/201625538기타: 59. outlook.live.com 메일 서비스의 아웃룩 POP3 설정하는 방법
11010정성태8/6/201622883기타: 58. Outlook에 설정한 SMTP/POP3(예:천리안 메일) 계정 암호를 잊어버린 경우
11009정성태8/3/201628079개발 환경 구성: 289. 2016-08-02부터 시작된 윈도우 10 1주년 업데이트에서 Bash Shell 사용 [8]
11008정성태8/1/201621912오류 유형: 345. 2의 30승 이상의 원소를 갖는 경우 버그가 발생하는 이진 검색(Binary Search) 코드
11007정성태8/1/201623627오류 유형: 344. RDP ActiveX 컨트롤로 특정 PC에 연결할 수 없을 때, 오류 상황을 해결하기 위한 팁파일 다운로드1
11006정성태7/22/201626596개발 환경 구성: 288. SSL 인증서를 Azure Cloud Service에 적용하는 방법
11005정성태7/22/201625245개발 환경 구성: 287. Let's Encrypt 인증서 업데이트 주기: 90일
11004정성태7/22/201620091오류 유형: 343. Invalid service definition or service configuration. Please see the Error List for more details.
11003정성태7/20/201627373VS.NET IDE: 110. Visual Studio 2015에서 .NET Core 응용 프로그램 개발 [1]
11002정성태7/20/201620848개발 환경 구성: 286. Microsoft Azure 서비스의 구독은 반드시 IE로!
11001정성태7/19/201631930.NET Framework: 599. .NET Core/SDK 설치 및 기본 사용법 [6]
11000정성태7/16/201620620오류 유형: 342. Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64) 설치 시 오류
... 106  107  108  109  110  111  112  113  114  115  [116]  117  118  119  120  ...