Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6721049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:17:02+00:00 2026-05-26T09:17:02+00:00

I take data from SQL server. I create a long string with spaces between

  • 0

I take data from SQL server.
I create a long string with spaces between fields and newlines for new rows.
Then I convert the string with iconv from windows-1255 to UTF-8 and save the string to a file test.xls.
When I open the file in OpenOffice spreadsheet the table is displayed correctly if I choose the UTF encoding.
But opening the file in MS excel, the fields are displayed correctly, but Hebrew text is not.

My question is: In which encoding should I save the file to be displayed correctly in Excel?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:17:02+00:00Added an answer on May 26, 2026 at 9:17 am

    Use PHPExcel to create actual Excel documents rather than mislabelled CSV. The problem is that CSV has no encoding metadata, and which encoding Excel will use depends on the system settings (i.e. there is no “standard encoding”).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am new in SQL server. my requirement is I have to take thousands
I am using a ResultSet to retrieve data from my SQL server. The code
I take data from Java to Flex by AMF (BlazeDS) In java side object
I'd like to take data from some XML files and transform them into a
I want to take data from a table that'll be almost exactly similiar to
I am writing an exporting function to take data from a database table and
I want to use Services(WCF/RIA /Web) to take data from Entity Data Model class
I'm creating a report that will take some data from one database (Company and
We use a data acquisition card to take readings from a device that increases
I take categories from another page with an ajax call. The problem is, data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.