In an SMS the letter ə cuts the message to 70 characters
Plain Latin letters fit 160 characters in one SMS. ə, ö, ü, ğ, ş, ç, and ı are not in that table. One of them moves the whole message to another table: the limit becomes 70. In a long message the parts split at 67 characters.
The Turkish operator table can hold ö, ü, ğ, ş, ç, and ı. ə is not there either. Most sending gates do not turn on the Turkish table, so all of these letters drop the message to 70.
Replacing the letter with e changes the word. əl and el are not the same. Count first.
- The code prints two numbers. One hundred
acharacters are one part. The same hundred characters withəin front are two parts. əalone is enough. The message goes to 70 even if the other letters are Latin.- 71 characters are two parts. After that the split is 67: up to 134 is two parts, 135 is three.
- An emoji also drops the message to 70 and sometimes takes two places. This counter does not count that separately.
- Removing the letter changes the meaning. See the part count before you send.
XUSUSI = set("əƏöÖüÜğĞşŞçÇıİ")
def hisseler(metn: str) -> int:
ucs = any(h in XUSUSI for h in metn)
n = len(metn.encode("utf-16-le")) // 2
if not ucs:
return 1 if n <= 160 else (n + 152) // 153
return 1 if n <= 70 else (n + 66) // 67
print(hisseler("a" * 100))
print(hisseler("ə" + "a" * 99))
- python is not recognized
- The letter ə shows as a square
- Excel breaks the letter ə
- The letter ə becomes a question mark on the page
- Excel opens the CSV as one column
- PowerShell will not run the script
- In JSON the letter ə becomes \u0259
- APK will not install
- What is a parse error?
- The keystore is lost
- The signatures do not match
- Package name error
- The APK file is damaged
- Blocked by Play Protect
- Package appears to be invalid
- Not enough storage
- App not compatible with your device
- An older version will not install
- XAPK will not install
- ödəyici turns into ödÉ™yici
- In C# the letter ə becomes a question mark
- A WhatsApp chat breaks ə in Excel
- In a PDF the letter ə becomes a square
- In MySQL the letter ə becomes a question mark
- In Java the letter ə breaks for Excel
- In PHP the letter ə becomes a question mark
- On Android the letter ə becomes a question mark
- A QR code will not take the letter ə
- How to check the Azerbaijan IBAN sample
- The ninth digit of a VÖEN cannot be calculated
- Gradle sync failed
- Could not resolve a dependency
- Duplicate class error
- Manifest merger failed
- Dex limit: 65536 methods
- R8: Missing class
- JDK version mismatch
- SDK location not found
- minSdkVersion conflict
- compileSdk is too low
- EAS build: Gradle failure
- expo prebuild error
- Metro: Unable to resolve module
- Hermes: JS error only in release
- White screen in release
- Red screen: cannot reach Metro
- Expo SDK mismatch
- Capacitor sync error
- Capacitor: white screen
- EAS: keystore and credentials error
- Keystore was tampered with / wrong password
- Wrong key alias or password
- Play: signed with the wrong key
- INSTALL_FAILED_UPDATE_INCOMPATIBLE
- INSTALL_FAILED_VERSION_DOWNGRADE
- INSTALL_FAILED_INSUFFICIENT_STORAGE
- INSTALL_FAILED_NO_MATCHING_ABIS
- Parse error (problem parsing the package)
- "App not installed" error
- Installing an AAB file on a phone
- adb: device "unauthorized"
- adb: device not found
- adb server version mismatch
- Activity class does not exist
- Play: targetSdk level too low
- Play: permissions policy rejection
- Play: 64-bit requirement
- Play: versionCode already used
- ClassNotFound / NoSuchMethod crash
- OutOfMemoryError crash
- CLEARTEXT communication not permitted
- SecurityException: permission denied