Re: [csv] Zero width no-break space

2023-02-08 Thread Adrian Blakey
I found it ty!
Best Adrian


On Mon, Feb 6, 2023 at 9:27 PM  wrote:

>
> Hello Adrian,
>
>
> It is documented in the User Guide to use a Stream wrapper for Files with
> Byte Order Mark (the guide claims Excel being a source for those):
>
>
> https://commons.apache.org/proper/commons-csv/user-guide.html#Handling_Byte_Order_Marks
>
> > Is this fixed in 1.10?
>
> So this should be the same for all recent versions, but its usually a good
> idea you try it with your specific files.
>
> >  If not ...
>
> In regards to "if not", do you know the fight scene from the movie
> Demolition
> Man? :) On a more seriuus note, if you think something can be improved you
> probably need to report it, any maybe even suggest a patch. I could
> imagine
> adding stream pre-processors would be a good add-on for the well-known
> types.
>
> Gruss
> Bernd
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>


Re: [csv] Zero width no-break space

2023-02-06 Thread ecki


Hello Adrian,


It is documented in the User Guide to use a Stream wrapper for Files with
Byte Order Mark (the guide claims Excel being a source for those):

https://commons.apache.org/proper/commons-csv/user-guide.html#Handling_Byte_Order_Marks

> Is this fixed in 1.10?

So this should be the same for all recent versions, but its usually a good
idea you try it with your specific files.

>  If not ...

In regards to "if not", do you know the fight scene from the movie Demolition
Man? :) On a more seriuus note, if you think something can be improved you
probably need to report it, any maybe even suggest a patch. I could imagine 
adding stream pre-processors would be a good add-on for the well-known types.

Gruss
Bernd


-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



Re: [csv] Zero width no-break space

2023-02-06 Thread Gary Gregory
You'll have to try it with your specific file but I'm not sure anything has
changed in this area or if the RFC or any other specifications say anything
about this character.

Gary

On Mon, Feb 6, 2023, 14:19 Adrian Blakey  wrote:

> I am using 1.9.0 - java 11.
>
> Header line parsing gets confused if a zero width non-break space 'FEFF' is
> the first thing in the csv file, and all headings get lumped into just one.
>
> Is this fixed in 1.10? If not ...
>
> Best Adrian
>