Export data to CSV file in Japanese

Posted on 2005-04-08
Last Modified: 2008-03-04
Hi experts!!!
I'm developing an application using ASP.NET/VB.NET .But I met a problem.
I need export data to CSV file. But the data is in Japanese, then the exported file cannot openned by MS Excel, or special symbol occured.
Who has experience with this problem, please let me know. Many thanks for your helps.
Question by:tuanbass

    Author Comment

    Now I done it mysel.Thanks all

    Author Comment

    Sorry, I'm wrong.

    Please help me!
    LVL 1

    Accepted Solution

    Here is my solution:

    Dim m_stream As New System.IO.MemoryStream
    Dim output As String
    Dim writer As New System.IO.StreamWriter(m_stream, System.Text.Encoding.Unicode)

    Dim s1 As String = ApplicationResource.GetString("Header_PA5110_PartName")
    writer.Write(s1 & vbTab & s1 & vbTab & s1)

    Hope this helps!


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now