commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
Date Mon, 17 Mar 2008 13:23:24 GMT

    [ https://issues.apache.org/jira/browse/NET-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579437#action_12579437
] 

Sebb commented on NET-206:
--------------------------

This will also affect the 2.0 code.

Are there any other Locale-dependent calls which assume an English Locale?  e.g. toLowerCase()

It looks like String.equalsIgnoreCase() does not use Locales.

> Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
> --------------------------------------------------------------------------------------
>
>                 Key: NET-206
>                 URL: https://issues.apache.org/jira/browse/NET-206
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Linux, JRE1.5
>            Reporter: Bohdan Bobylak
>         Attachments: DefaultFTPFileEntryParserFactory.patch
>
>
> When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error
is seen when connecting to windows ftp server:
> ...
> at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type:
Windows_NT
> at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
> at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message