all groups > sql server reporting services > june 2005 >
You're in the

sql server reporting services

group:

CSV_export_with_characters_"ÿþ"


CSV_export_with_characters_"ÿþ" srm
6/2/2005 4:35:10 PM
sql server reporting services:
CSV export with characters "ÿþ":

Using reporting services and URL encoding I'm exporting about 1000 records
to CSV format, after exporting i always these " ÿþ " special characters as
the beginning of the file.

these character can be seen clearly only if opened with office 97 or earlier
or with any HEX viewer.

It seems its a common problem with excel formatting.

http://groups.google.com.au/group/microsoft.public.excel.programming/browse_thread/thread/e540d95a1f3e83ae/4828dd254c80c8b9?q=%C3%BF%C3%BE+in+csv&rnum=2&hl=en

Does anyone has the same problem? I am not able to use this CSV for printing
with the printing softwares unless i manually remove these characters.

This problem disappeared if I select all data from CSV and paste it to a new
NOTEPAD and save as CSV. Is there any other way to avoid this extra work.

Cheers,
ÿþ" srm
6/2/2005 6:12:07 PM
Tried with rs:Encoding=ASCII into the URL.
But did not remove those Characters. It's the same export format.

Given below is the part of the parameters within URL.

&rs:Command=Render&rs:Format=CSV&rc:Toolbar=false&rs:Encoding=ASCII&rc:Qualifier=*?&rc:NoHeader=true&rc:FieldDelimiter="|"&ProcessID=19653

Thank you.
Roy.


[quoted text, click to view]
Re: CSV export with characters "ÿþ" Bruce L-C [MVP]
6/2/2005 8:39:42 PM
The CSV export from Report Manager uses the Unicode format for the CSV
created. You could try doing a jump to URL that specifies the ASCII format.
It is one of the options you can provide on the URL. Give that a try and see
if it solves the problem for you. It also solves the issue with Excel
opening it and putting everything in a single column. When exported as ASCII
CSV it opens up in Excel in all the correct columns.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: CSV export with characters "ÿþ" Bruce L-C [MVP]
6/3/2005 8:09:50 AM
Oh well. It was worth a try. I don't have any other suggestions.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

ÿþ" DigitalVixen
6/24/2005 12:19:02 PM
Instead of &rs:Encoding try &rc:Encoding

HTH

[quoted text, click to view]
AddThis Social Bookmark Button