Open CSV without broken text or lost zeros: encoding and columns
CSV stores text records with separated fields, while TSV commonly uses tabs.
Follow the steps and understand the result
Step through at your own pace, or play the walkthrough to follow each stage.
Identify the format
sample.csvOpen a suitable copy
copy → supported appChoose the conversion result
id,nameVerify the result
compare source / resultFormat and suitable tasks
CSV stores text records with separated fields, while TSV commonly uses tabs. The extension alone does not establish character encoding or the actual delimiter. A small sample containing names and numbers is a useful test, especially for phone numbers or identifiers beginning with zero.
Prepare a controlled check
Decide whether you need reading, editing or printing. Test a page, sheet or slide containing important elements such as Arabic, numbers and tables. Record the app and version so you can reproduce the result or explain a failure.
Opening step by step
In Calc, open the file and review the text import dialog. Choose the source encoding and inspect comma, semicolon or tab separation in the preview. Set phone and identifier columns to text and inspect an Arabic row before confirming. Double-clicking may reuse unsuitable previous settings.
A Mira4Tech hands-on check
id;name;city
00123;ندى;"القاهرة; مصر"In a PowerShell test, importing this sample as UTF-8 with a semicolon separator produced three columns. The identifier stayed 00123 and the quoted city value remained in one cell, including its embedded semicolon. A comma separator yielded one column. To try the sample in Calc, choose semicolon, use a double quote as the string delimiter and set the id column to Text in the preview.
Conversion or export and what changes
After importing correctly, save XLSX or ODS if you need sheets, formatting or formulas. When exporting CSV again, inspect delimiter, encoding and selected sheet. Fields containing delimiters or newlines need appropriate quoting. Global comma replacement can alter the actual data.
Verify the result for your task
Compare row and column counts, an Arabic name, a leading-zero identifier and a field containing a delimiter. Reimport the output with known settings and compare sample values with the original.
An important limit before relying on the file
Untrusted CSV data may contain values that spreadsheet apps interpret as formulas. Review text-import behaviour, especially unknown fields beginning with an equals sign.
If the result differs from expectations
If a whole row lands in one column, adjust the separator in the import preview. If the columns line up but 00123 becomes 123, set the identifier column to Text and reimport the original before saving.
Return to the format reference → · Look up an error message · Try file exercises
Continue with practical guides
Sources and review
Prepared and edited by the Mira4Tech team. The teaching sequence uses format behaviour and app documentation. Menu names may differ by release and language; test a separate copy in your environment.