Excel opens the CSV as one column
If Excel shows the whole row in one cell, the letter is not broken. The separator does not match. An Azerbaijani setup treats the comma as a decimal mark, so the column separator is usually a semicolon. Excel does not treat a comma in the file as a separator.
This is not the letter ə breaking. If the letter is also broken, the file needs both utf-8-sig and ;.
Do not change everything at once. Check the cause in order.
- In a blank Excel cell type
=1,5. If it becomes a number, your separator is;. If=1.5becomes a number, your separator is a comma. - In Python the line should be
csv.writer(fayl, delimiter=";"). Open the file withutf-8-sigandnewline="". - Do not turn every comma into
;before you check the separator. A comma inside a number is the decimal mark, not a column. - Do not split the old file inside Excel. Write the file again from code.
- If another program wants commas, the
;you wrote for Excel becomes one column there. If you need two files, do not mix the separators.
If the letter is ?, do not change the separator. That is the utf-8-sig page.
import csv
with open("metn.csv", "w", newline="", encoding="utf-8-sig") as fayl:
csv.writer(fayl, delimiter=";").writerows([
["ad", "qiymet"],
["Azərbaycan", "1,50"],
])
- python is not recognized
- The letter ə shows as a square
- Excel breaks the letter ə
- The letter ə becomes a question mark on the page
- 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
- 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