<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>디버깅 on 얼쑤 · Team Edo</title><link>https://team-edo.github.io/tags/%EB%94%94%EB%B2%84%EA%B9%85/</link><description>Recent content in 디버깅 on 얼쑤 · Team Edo</description><generator>Hugo</generator><language>ko-kr</language><lastBuildDate>Thu, 29 Oct 2026 00:00:00 +0900</lastBuildDate><atom:link href="https://team-edo.github.io/tags/%EB%94%94%EB%B2%84%EA%B9%85/index.xml" rel="self" type="application/rss+xml"/><item><title>MySQL 한글이 물음표로 보일 때</title><link>https://team-edo.github.io/posts/2026/10/diagnose-mysql-result-charset/</link><pubDate>Thu, 29 Oct 2026 00:00:00 +0900</pubDate><guid>https://team-edo.github.io/posts/2026/10/diagnose-mysql-result-charset/</guid><description>&lt;p>곡 제목을 MySQL 클라이언트에서 읽을 때, 일부 한글이 &lt;code>???&lt;/code> 또는 &lt;code>?????&lt;/code>로 표시됐습니다. 화면만 보고 저장값을 고치면 멀쩡한 행까지 바꿀 수 있습니다. 이 기록에서 확인한 것은 조회 화면에 물음표가 있었다는 사실입니다. 저장된 바이트에 물음표가 있었는지는 별도의 확인이 필요했습니다.&lt;/p>
&lt;h2 id="출력과-저장을-따로-읽는다">표시와 저장값 분리&lt;/h2>
&lt;p>MySQL은 연결에서 사용하는 문자 집합에 맞춰 결과를 변환할 수 있습니다. 클라이언트가 요청한 결과 문자 집합으로 한글을 표현하지 못하면 저장값이 정상이어도 화면에는 물음표가 나올 수 있습니다. 먼저 같은 행을 &lt;code>utf8mb4&lt;/code>를 지정한 세션에서 다시 읽고, 연결이 실제로 어떤 문자 집합을 쓰는지 확인하는 방식이 있습니다. &lt;a href="https://dev.mysql.com/doc/refman/8.4/en/charset-connection.html">MySQL 연결 문자 집합 문서&lt;/a>&lt;/p></description></item><item><title>원격 명령은 어디서 막혔을까</title><link>https://team-edo.github.io/posts/2026/10/trace-shell-and-ssh-command-failures/</link><pubDate>Thu, 29 Oct 2026 00:00:00 +0900</pubDate><guid>https://team-edo.github.io/posts/2026/10/trace-shell-and-ssh-command-failures/</guid><description>&lt;p>운영 기록을 읽으려던 명령이 실패하면 먼저 원격 서버 상태를 의심하기 쉽습니다. 세 번의 실패를 다시 보니 Git에 인수를 넘기기 전, SSH에 인수를 넘기는 순간, SSH가 원격 명령을 시작하기 전이라는 서로 다른 위치에서 막혔습니다.&lt;/p>
&lt;h2 id="zsh가-만든-인수를-먼저-본다">zsh가 만든 인수 확인&lt;/h2>
&lt;p>첫 사례에서는 변수에 든 Git ref 뒤에 콜론과 경로를 바로 붙였습니다. zsh에서 뒤 문자열이 &lt;code>:a&lt;/code>로 시작하면 변수 확장의 경로 수정자로 읽힐 수 있습니다. &lt;code>git show &amp;quot;${ref}:archive/report.txt&amp;quot;&lt;/code>처럼 중괄호로 변수 이름을 닫으면 콜론은 Git이 받는 문자열에 그대로 남습니다. &lt;a href="https://zsh.sourceforge.io/Doc/Release/Expansion.html">zsh 확장 문서&lt;/a>&lt;/p></description></item></channel></rss>