Microsoft Windows Vista Community Forums - Vistaheads
Driver Scanner 2009 - Free Scan Now



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Exporting Contacts to CSV has junk on first line?

microsoft.public.windows.vista.mail



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 02-28-2007
Mark Beiley
 

Posts: n/a
Exporting Contacts to CSV has junk on first line?
In Windows Mail under Vista, if I export contacts to a CSV file, the first
line
has 3 junk characters at the beginning. Everything else in the file looks
normal.
These 3 characters are the very first 3 characters. The line looks like
this:

Name,E-mail Address,Home Street,Home City...

Any ideas on what these 3 characters are? Is this a bug in the export?

Thanks,
Mark
--
http://www.beiley.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-01-2007
DGuess
 

Posts: n/a
Re: Exporting Contacts to CSV has junk on first line?
"Mark Beiley" <googlegroups AT beiley.com> wrote in message
news:uTXaEP1WHHA.1208@TK2MSFTNGP03.phx.gbl...
> In Windows Mail under Vista, if I export contacts to a CSV file, the first
> line
> has 3 junk characters at the beginning. Everything else in the file looks
> normal.
> These 3 characters are the very first 3 characters. The line looks like
> this:
>
> Name,E-mail Address,Home Street,Home City...
>
> Any ideas on what these 3 characters are? Is this a bug in the export?




Possible encoding error. Language settings maybe? Check in that area.

Not seeing it here.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2007
Mark Beiley
 

Posts: n/a
Re: Exporting Contacts to CSV has junk on first line?
Hi DGuess,

Thanks for the help. My language settings seem okay in Control Panel /
Regional. It is just plain English (US). I thought maybe one of my
contacts was corrupted, so I moved them all out of the Contacts folder, and
created a brand new one. Again I got 3 weird characters to start the CSV
file. They are always the same 3 characters as shown below. I'm rather
stumped...

Thanks,
Mark
--
http://www.beiley.com


"DGuess" <majik@mindspring.oops> wrote in message
news:5E104BE6-AEAD-4E9B-828C-58E434092FD6@microsoft.com...
> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
> news:uTXaEP1WHHA.1208@TK2MSFTNGP03.phx.gbl...
>> In Windows Mail under Vista, if I export contacts to a CSV file, the
>> first line
>> has 3 junk characters at the beginning. Everything else in the file
>> looks normal.
>> These 3 characters are the very first 3 characters. The line looks like
>> this:
>>
>> Name,E-mail Address,Home Street,Home City...
>>
>> Any ideas on what these 3 characters are? Is this a bug in the export?

>
>
>
> Possible encoding error. Language settings maybe? Check in that area.
>
> Not seeing it here.
>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-01-2007
DGuess
 

Posts: n/a
Re: Exporting Contacts to CSV has junk on first line?
Just sounds like it might be picking up something from one of the contacts
but then, it's at the fields names.

Post this question in the regular Windows Vista newsgroups as I think it's
more the system than the files. Someone may have encountered this before. It
reminds me of the old yb that was in the emails for Outlook Express and that
was from an encoding issue which was easily solved.

Like you, I'm stumped but it just makes me wonder if it might be something
in the system itself. Explorer is basically where this is originating.


"Mark Beiley" <googlegroups AT beiley.com> wrote in message
news:uFe0O97WHHA.5060@TK2MSFTNGP06.phx.gbl...
> Hi DGuess,
>
> Thanks for the help. My language settings seem okay in Control Panel /
> Regional. It is just plain English (US). I thought maybe one of my
> contacts was corrupted, so I moved them all out of the Contacts folder,
> and created a brand new one. Again I got 3 weird characters to start the
> CSV file. They are always the same 3 characters as shown below. I'm
> rather stumped...
>
> Thanks,
> Mark
> --
> http://www.beiley.com
>
>
> "DGuess" <majik@mindspring.oops> wrote in message
> news:5E104BE6-AEAD-4E9B-828C-58E434092FD6@microsoft.com...
>> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
>> news:uTXaEP1WHHA.1208@TK2MSFTNGP03.phx.gbl...
>>> In Windows Mail under Vista, if I export contacts to a CSV file, the
>>> first line
>>> has 3 junk characters at the beginning. Everything else in the file
>>> looks normal.
>>> These 3 characters are the very first 3 characters. The line looks like
>>> this:
>>>
>>> Name,E-mail Address,Home Street,Home City...
>>>
>>> Any ideas on what these 3 characters are? Is this a bug in the export?

>>
>>
>>
>> Possible encoding error. Language settings maybe? Check in that area.
>>
>> Not seeing it here.
>>
>>

>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-01-2007
 

Posts: n/a
Re: Exporting Contacts to CSV has junk on first line?
Are you using a Unicode application (and in your case specifically UTF-8) to
read the CSV? Even if you are windows has to guess if a file is Unicode or
ansi and sometimes guesses wrong. Throwing those three characters into
notepad and saving as ANSI then reopening the file and looking File - Save
As will show it is UTF-8 (easier than searching for the standard to read
it).

"DGuess" <majik@mindspring.oops> wrote in message
news:EF9F3E86-91E4-4E3A-94C5-3715606C28BA@microsoft.com...
> Just sounds like it might be picking up something from one of the contacts
> but then, it's at the fields names.
>
> Post this question in the regular Windows Vista newsgroups as I think it's
> more the system than the files. Someone may have encountered this before.
> It reminds me of the old yb that was in the emails for Outlook Express and
> that was from an encoding issue which was easily solved.
>
> Like you, I'm stumped but it just makes me wonder if it might be something
> in the system itself. Explorer is basically where this is originating.
>
>
> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
> news:uFe0O97WHHA.5060@TK2MSFTNGP06.phx.gbl...
>> Hi DGuess,
>>
>> Thanks for the help. My language settings seem okay in Control Panel /
>> Regional. It is just plain English (US). I thought maybe one of my
>> contacts was corrupted, so I moved them all out of the Contacts folder,
>> and created a brand new one. Again I got 3 weird characters to start the
>> CSV file. They are always the same 3 characters as shown below. I'm
>> rather stumped...
>>
>> Thanks,
>> Mark
>> --
>> http://www.beiley.com
>>
>>
>> "DGuess" <majik@mindspring.oops> wrote in message
>> news:5E104BE6-AEAD-4E9B-828C-58E434092FD6@microsoft.com...
>>> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
>>> news:uTXaEP1WHHA.1208@TK2MSFTNGP03.phx.gbl...
>>>> In Windows Mail under Vista, if I export contacts to a CSV file, the
>>>> first line
>>>> has 3 junk characters at the beginning. Everything else in the file
>>>> looks normal.
>>>> These 3 characters are the very first 3 characters. The line looks
>>>> like this:
>>>>
>>>> Name,E-mail Address,Home Street,Home City...
>>>>
>>>> Any ideas on what these 3 characters are? Is this a bug in the export?
>>>
>>>
>>>
>>> Possible encoding error. Language settings maybe? Check in that area.
>>>
>>> Not seeing it here.
>>>
>>>

>>

>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-01-2007
Mark Beiley
 

Posts: n/a
Re: Exporting Contacts to CSV has junk on first line?
I think this is somehow the problem... I was reading it with Excel and also
with
an ANSI text editor (www.boxersoftware.com). Both of these showed those 3
junk characters
at the beginning. If I open the CSV file with Notepad, when I click on the
file in the "Open"
dialog, it changes the encoding automatically to "UTF-8". If I open it with
the UTF-8 encoding, the
file looks normal. If I open it with "ANSI" encoding, I see those 3 junk
characters. I guess
Windows Mail is exporting the CSV file with UTF-8 encoding. I'm not sure
what that is, but
at least now I understand (sort of...).

Thanks,
Mark
--
http://www.beiley.com



<.> wrote in message news:OVy%23X29WHHA.4188@TK2MSFTNGP06.phx.gbl...
> Are you using a Unicode application (and in your case specifically UTF-8)
> to read the CSV? Even if you are windows has to guess if a file is Unicode
> or ansi and sometimes guesses wrong. Throwing those three characters into
> notepad and saving as ANSI then reopening the file and looking File - Save
> As will show it is UTF-8 (easier than searching for the standard to read
> it).
>
> "DGuess" <majik@mindspring.oops> wrote in message
> news:EF9F3E86-91E4-4E3A-94C5-3715606C28BA@microsoft.com...
>> Just sounds like it might be picking up something from one of the
>> contacts but then, it's at the fields names.
>>
>> Post this question in the regular Windows Vista newsgroups as I think
>> it's more the system than the files. Someone may have encountered this
>> before. It reminds me of the old yb that was in the emails for Outlook
>> Express and that was from an encoding issue which was easily solved.
>>
>> Like you, I'm stumped but it just makes me wonder if it might be
>> something in the system itself. Explorer is basically where this is
>> originating.
>>
>>
>> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
>> news:uFe0O97WHHA.5060@TK2MSFTNGP06.phx.gbl...
>>> Hi DGuess,
>>>
>>> Thanks for the help. My language settings seem okay in Control Panel /
>>> Regional. It is just plain English (US). I thought maybe one of my
>>> contacts was corrupted, so I moved them all out of the Contacts folder,
>>> and created a brand new one. Again I got 3 weird characters to start
>>> the CSV file. They are always the same 3 characters as shown below.
>>> I'm rather stumped...
>>>
>>> Thanks,
>>> Mark
>>> --
>>> http://www.beiley.com
>>>
>>>
>>> "DGuess" <majik@mindspring.oops> wrote in message
>>> news:5E104BE6-AEAD-4E9B-828C-58E434092FD6@microsoft.com...
>>>> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
>>>> news:uTXaEP1WHHA.1208@TK2MSFTNGP03.phx.gbl...
>>>>> In Windows Mail under Vista, if I export contacts to a CSV file, the
>>>>> first line
>>>>> has 3 junk characters at the beginning. Everything else in the file
>>>>> looks normal.
>>>>> These 3 characters are the very first 3 characters. The line looks
>>>>> like this:
>>>>>
>>>>> Name,E-mail Address,Home Street,Home City...
>>>>>
>>>>> Any ideas on what these 3 characters are? Is this a bug in the
>>>>> export?
>>>>
>>>>
>>>>
>>>> Possible encoding error. Language settings maybe? Check in that area.
>>>>
>>>> Not seeing it here.
>>>>
>>>>
>>>

>>
>>

>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-01-2007
 

Posts: n/a
Re: Exporting Contacts to CSV has junk on first line?
ANSI has 256 characters, not enough for all languages in the world. Unicode
has lots more (there are different versions). In English UTF-8 and ANSI are
the same. Other characters not commonly used in english are two characters
in UTF-8 (all characters are two in other unicode types ie 16 bit rather
than 8 bit - there is also a 32 bit unicode). So an english UTF-8 file is
likely identical to an ANSI file except all unicode files start with a
header saying what flavour of unicode it is.

I only have Excel 95 installed. On the wizard for opening text files (same
page as choosing fixed width fields or delimited) I get to choose various
formats (though this is too old for unicode to be a choice).

Also different divisions of MS use different unicode formats just to make
sure it can't work seemlessly.

"Mark Beiley" <googlegroups AT beiley.com> wrote in message
news:OhyBjKCXHHA.4188@TK2MSFTNGP06.phx.gbl...
>I think this is somehow the problem... I was reading it with Excel and
>also with
> an ANSI text editor (www.boxersoftware.com). Both of these showed those 3
> junk characters
> at the beginning. If I open the CSV file with Notepad, when I click on
> the file in the "Open"
> dialog, it changes the encoding automatically to "UTF-8". If I open it
> with the UTF-8 encoding, the
> file looks normal. If I open it with "ANSI" encoding, I see those 3 junk
> characters. I guess
> Windows Mail is exporting the CSV file with UTF-8 encoding. I'm not sure
> what that is, but
> at least now I understand (sort of...).
>
> Thanks,
> Mark
> --
> http://www.beiley.com
>
>
>
> <.> wrote in message news:OVy%23X29WHHA.4188@TK2MSFTNGP06.phx.gbl...
>> Are you using a Unicode application (and in your case specifically UTF-8)
>> to read the CSV? Even if you are windows has to guess if a file is
>> Unicode or ansi and sometimes guesses wrong. Throwing those three
>> characters into notepad and saving as ANSI then reopening the file and
>> looking File - Save As will show it is UTF-8 (easier than searching for
>> the standard to read it).
>>
>> "DGuess" <majik@mindspring.oops> wrote in message
>> news:EF9F3E86-91E4-4E3A-94C5-3715606C28BA@microsoft.com...
>>> Just sounds like it might be picking up something from one of the
>>> contacts but then, it's at the fields names.
>>>
>>> Post this question in the regular Windows Vista newsgroups as I think
>>> it's more the system than the files. Someone may have encountered this
>>> before. It reminds me of the old yb that was in the emails for Outlook
>>> Express and that was from an encoding issue which was easily solved.
>>>
>>> Like you, I'm stumped but it just makes me wonder if it might be
>>> something in the system itself. Explorer is basically where this is
>>> originating.
>>>
>>>
>>> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
>>> news:uFe0O97WHHA.5060@TK2MSFTNGP06.phx.gbl...
>>>> Hi DGuess,
>>>>
>>>> Thanks for the help. My language settings seem okay in Control Panel /
>>>> Regional. It is just plain English (US). I thought maybe one of my
>>>> contacts was corrupted, so I moved them all out of the Contacts folder,
>>>> and created a brand new one. Again I got 3 weird characters to start
>>>> the CSV file. They are always the same 3 characters as shown below.
>>>> I'm rather stumped...
>>>>
>>>> Thanks,
>>>> Mark
>>>> --
>>>> http://www.beiley.com
>>>>
>>>>
>>>> "DGuess" <majik@mindspring.oops> wrote in message
>>>> news:5E104BE6-AEAD-4E9B-828C-58E434092FD6@microsoft.com...
>>>>> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
>>>>> news:uTXaEP1WHHA.1208@TK2MSFTNGP03.phx.gbl...
>>>>>> In Windows Mail under Vista, if I export contacts to a CSV file, the
>>>>>> first line
>>>>>> has 3 junk characters at the beginning. Everything else in the file
>>>>>> looks normal.
>>>>>> These 3 characters are the very first 3 characters. The line looks
>>>>>> like this:
>>>>>>
>>>>>> Name,E-mail Address,Home Street,Home City...
>>>>>>
>>>>>> Any ideas on what these 3 characters are? Is this a bug in the
>>>>>> export?
>>>>>
>>>>>
>>>>>
>>>>> Possible encoding error. Language settings maybe? Check in that area.
>>>>>
>>>>> Not seeing it here.
>>>>>
>>>>>
>>>>
>>>
>>>

>>

>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-01-2007
Mark Beiley
 

Posts: n/a
Re: Exporting Contacts to CSV has junk on first line?
I learned what those 3 "junk" characters are. They are the "Byte Order
Mask", as you've mentioned. I found a good article that explained this in
more detail:

http://codesnipers.com/?q=node/68


Thanks,
Mark
--
http://www.beiley.com


<.> wrote in message news:%238y7wVCXHHA.4028@TK2MSFTNGP04.phx.gbl...
> ANSI has 256 characters, not enough for all languages in the world.
> Unicode has lots more (there are different versions). In English UTF-8 and
> ANSI are the same. Other characters not commonly used in english are two
> characters in UTF-8 (all characters are two in other unicode types ie 16
> bit rather than 8 bit - there is also a 32 bit unicode). So an english
> UTF-8 file is likely identical to an ANSI file except all unicode files
> start with a header saying what flavour of unicode it is.
>
> I only have Excel 95 installed. On the wizard for opening text files (same
> page as choosing fixed width fields or delimited) I get to choose various
> formats (though this is too old for unicode to be a choice).
>
> Also different divisions of MS use different unicode formats just to make
> sure it can't work seemlessly.
>
> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
> news:OhyBjKCXHHA.4188@TK2MSFTNGP06.phx.gbl...
>>I think this is somehow the problem... I was reading it with Excel and
>>also with
>> an ANSI text editor (www.boxersoftware.com). Both of these showed those
>> 3 junk characters
>> at the beginning. If I open the CSV file with Notepad, when I click on
>> the file in the "Open"
>> dialog, it changes the encoding automatically to "UTF-8". If I open it
>> with the UTF-8 encoding, the
>> file looks normal. If I open it with "ANSI" encoding, I see those 3 junk
>> characters. I guess
>> Windows Mail is exporting the CSV file with UTF-8 encoding. I'm not sure
>> what that is, but
>> at least now I understand (sort of...).
>>
>> Thanks,
>> Mark
>> --
>> http://www.beiley.com
>>
>>
>>
>> <.> wrote in message news:OVy%23X29WHHA.4188@TK2MSFTNGP06.phx.gbl...
>>> Are you using a Unicode application (and in your case specifically
>>> UTF-8) to read the CSV? Even if you are windows has to guess if a file
>>> is Unicode or ansi and sometimes guesses wrong. Throwing those three
>>> characters into notepad and saving as ANSI then reopening the file and
>>> looking File - Save As will show it is UTF-8 (easier than searching for
>>> the standard to read it).
>>>
>>> "DGuess" <majik@mindspring.oops> wrote in message
>>> news:EF9F3E86-91E4-4E3A-94C5-3715606C28BA@microsoft.com...
>>>> Just sounds like it might be picking up something from one of the
>>>> contacts but then, it's at the fields names.
>>>>
>>>> Post this question in the regular Windows Vista newsgroups as I think
>>>> it's more the system than the files. Someone may have encountered this
>>>> before. It reminds me of the old yb that was in the emails for Outlook
>>>> Express and that was from an encoding issue which was easily solved.
>>>>
>>>> Like you, I'm stumped but it just makes me wonder if it might be
>>>> something in the system itself. Explorer is basically where this is
>>>> originating.
>>>>
>>>>
>>>> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
>>>> news:uFe0O97WHHA.5060@TK2MSFTNGP06.phx.gbl...
>>>>> Hi DGuess,
>>>>>
>>>>> Thanks for the help. My language settings seem okay in Control Panel
>>>>> / Regional. It is just plain English (US). I thought maybe one of my
>>>>> contacts was corrupted, so I moved them all out of the Contacts
>>>>> folder, and created a brand new one. Again I got 3 weird characters
>>>>> to start the CSV file. They are always the same 3 characters as shown
>>>>> below. I'm rather stumped...
>>>>>
>>>>> Thanks,
>>>>> Mark
>>>>> --
>>>>> http://www.beiley.com
>>>>>
>>>>>
>>>>> "DGuess" <majik@mindspring.oops> wrote in message
>>>>> news:5E104BE6-AEAD-4E9B-828C-58E434092FD6@microsoft.com...
>>>>>> "Mark Beiley" <googlegroups AT beiley.com> wrote in message
>>>>>> news:uTXaEP1WHHA.1208@TK2MSFTNGP03.phx.gbl...
>>>>>>> In Windows Mail under Vista, if I export contacts to a CSV file, the
>>>>>>> first line
>>>>>>> has 3 junk characters at the beginning. Everything else in the file
>>>>>>> looks normal.
>>>>>>> These 3 characters are the very first 3 characters. The line looks
>>>>>>> like this:
>>>>>>>
>>>>>>> Name,E-mail Address,Home Street,Home City...
>>>>>>>
>>>>>>> Any ideas on what these 3 characters are? Is this a bug in the
>>>>>>> export?
>>>>>>
>>>>>>
>>>>>>
>>>>>> Possible encoding error. Language settings maybe? Check in that
>>>>>> area.
>>>>>>
>>>>>> Not seeing it here.
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>

>>

>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing contacts between Windows Mail and Outlook 2003 =?Utf-8?B?Tmljaw==?= microsoft.public.windows.vista.mail 7 06-19-2007 00:47
Shared contacts =?Utf-8?B?R3JlZw==?= microsoft.public.windows.vista.mail 1 02-23-2007 22:02
Junk mail filtered before message rules =?Utf-8?B?Sm9lbCBIZWxnZXNvbg==?= microsoft.public.windows.vista.mail 5 02-20-2007 17:15
Change how contacts are displayed in Windows Mail Address Book =?Utf-8?B?VGltIEcu?= microsoft.public.windows.vista.mail 0 02-12-2007 22:27
Sync Contacts with contacts folder in User folder? =?Utf-8?B?TXV0eQ==?= microsoft.public.windows.vista.mail 2 01-07-2007 01:02


All times are GMT +1. The time now is 01:54.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119