From 844402b102deeebfa8ccde002bdb845b26ce4efb Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Thu, 4 Aug 2011 23:32:08 -0400 Subject: [PATCH] Remove all mentions of `locale' from the docs. It's utf-8 now, but that's the default in the docs anyway. original commit: 99d48abcf3ff3de5b23121fe89e8ad0890368081 --- collects/net/scribblings/ftp.scrbl | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/collects/net/scribblings/ftp.scrbl b/collects/net/scribblings/ftp.scrbl index 1e0113172b..ef2c263bde 100644 --- a/collects/net/scribblings/ftp.scrbl +++ b/collects/net/scribblings/ftp.scrbl @@ -23,10 +23,7 @@ returned by @racket[ftp-establish-connection], @racket[#f] otherwise.} ftp-connection?]{ Establishes an FTP connection with the given server using the -supplied username and password. - -The username and password strings are encoded to bytes using the -current locale's encoding.} +supplied username and password.} @defproc[(ftp-close-connection [ftp-conn ftp-connection?]) void?]{ @@ -38,8 +35,7 @@ Closes an FTP connection.} Changes the current directory on the FTP server to @racket[new-dir]. The @racket[new-dir] argument is not interpreted at all, but simply -passed on to the server (encoded using the current locale's -encoding); it must not contain a newline.} +passed on to the server; it must not contain a newline.} @defproc[(ftp-directory-list [ftp-conn ftp-connection?]) (listof (list/c (one-of/c "-" "d" "l") @@ -56,10 +52,7 @@ depending on whether the items is a file, directory, or link, respectively. The second item is the file's date; to convert this value to seconds consistent with @racket[file-seconds], pass the date string to @racket[ftp-make-file-seconds], below. The third string is -the name of the file or directory. - -All strings are decoded from bytes using the current locale's -encoding.} +the name of the file or directory.} @defproc[(ftp-make-file-seconds [ftp-date string?]) exact-integer?]{