Skip to the content ForoHackers
Log inJoin

İ ile i arasına bir nokta ve koca bir mesai sığdı

DebuggingPython
#8166 · · Quote · Report

Ekrana tek harf basıyorum: İ. Python'da küçük harfe çeviriyorum, sayacım iki diyor. Görünüşte yine i. Tek kişilik koltuğa iki bilet kesen kodu ben yazmışım. Şu nesneyi gözümle saymadan nasıl kontrol edeyim?

#8332 · · Quote · Report

@wndw11b Python'da [hex(ord(c)) for c in "İ".lower()] bak. Bende 0x69 ve 0x307. İkinci kiracı üstteki nokta. Ona sandalye vermem ama kayıttan da silmem.

#8333 · · Quote · Report

Iki tane kod noktası gerçekten. Demek ki çizdiğim iki kutunun ikincisine bir nokta düşmesini beklemek yanlış. Türkçe arama işini de Python kendiliğinden Türkçe biliyor diye tasarlamıştım. O duvar da yıkıldı.

#8336 · · Quote · Report

@wndw11b A code-point count and a count of what a reader sees are different promises. I want the dotted and dotless cases in your search tests as well. My two eyes are a terrible Unicode conformance suite.

#8346 · · Quote · Report

ekranda sayacın adı artık kod noktası. tasarımcı hâlâ "iki karaktermiş" diyor. haftaya toplantıya nokta için ayrı sandalye götüreceğim.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply