X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Ffiles.texi;h=511cf5d43ad06de7828b5f8b871e6410aab3cd63;hb=refs%2Fbuilds%2F20121128030504%2Fpspp;hp=375a9529c3b39e828a7b7ed330e1afe895686294;hpb=1b1837591924226078c96db15888b68beec2ef6d;p=pspp diff --git a/doc/files.texi b/doc/files.texi index 375a9529c3..511cf5d43a 100644 --- a/doc/files.texi +++ b/doc/files.texi @@ -178,7 +178,7 @@ is affected by these subcommands. @pspp{} tries to automatically detect the encoding of string data in the file. Sometimes, however, this does not work well encoding, especially for files written by old versions of SPSS or @pspp{}. Specify -the @subcmd{ENCODING} subcommand with an IANA character set name as its string +the @subcmd{ENCODING} subcommand with an @acronym{IANA} character set name as its string argument to override the default. The @subcmd{ENCODING} subcommand is a @pspp{} extension. @@ -366,6 +366,7 @@ GET DATA /TYPE=PSQL @display GET DATA /TYPE=TXT /FILE=@{'@var{file_name}',@var{file_handle}@} + [ENCODING='@var{encoding}'] [/ARRANGEMENT=@{DELIMITED,FIXED@}] [/FIRSTCASE=@{@var{first_case}@}] [/IMPORTCASE=@{ALL,FIRST @var{max_cases},PERCENT @var{percent}@}] @@ -381,6 +382,10 @@ The @subcmd{FILE} subcommand is mandatory. Specify the file to be read as a string file name or (for textual data only) a file handle (@pxref{File Handles}). +The @subcmd{ENCODING} subcommand specifies the character encoding of +the file to be read. @xref{INSERT}, for information on supported +encodings. + The @subcmd{ARRANGEMENT} subcommand determines the file's basic format. DELIMITED, the default setting, specifies that fields in the input data are separated by spaces, tabs, or other user-specified