Chromium Code Reviews| Index: net/ftp/ftp_directory_listing_parser.cc |
| diff --git a/net/ftp/ftp_directory_listing_parser.cc b/net/ftp/ftp_directory_listing_parser.cc |
| index 151c1b9df56ea4a1f17d9c7294be0fdd8dbf32fb..06ecaa7850dd624698035104711ff1883979860c 100644 |
| --- a/net/ftp/ftp_directory_listing_parser.cc |
| +++ b/net/ftp/ftp_directory_listing_parser.cc |
| @@ -91,7 +91,7 @@ int DecodeAndParse(const std::string& text, |
| base::string16 converted_text; |
| if (base::CodepageToUTF16(text, encoding_name, |
| - base::OnStringConversionError::FAIL, |
| + base::OnStringConversionError::SKIP, |
|
mmenke
2017/01/05 00:20:53
Would SUBSTITUTE be better, so we display a charac
Jinsuk Kim
2017/01/05 00:25:39
Tried this but then the processing in |ParseListin
Jinsuk Kim
2017/01/05 00:45:28
Your feedback got me to look into it further... SU
|
| &converted_text)) { |
| const char* const kNewlineSeparators[] = {"\n", "\r\n"}; |