Permalink
Browse files

[S32/IO] "UTF-8" for &spurt, not "Unicode"

colomon++ for pointing out that "Unicode" doesn't make much sense here,
the way it does for reading (and trying to figure out the exact encoding).
  • Loading branch information...
1 parent b7b1054 commit 43780ff8ab045040f55d2949b5b151e6ac515758 @masak masak committed Jun 24, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 S32-setting-library/IO.pod
@@ -22,8 +22,8 @@ DRAFT: Synopsis 32: Setting Library - IO
Created: 19 Feb 2009 extracted from S29-functions.pod; added stuff from S16-IO later
- Last Modified: 4 July 2010
- Version: 13
+ Last Modified: 24 June 2012
+ Version: 14
The document is a draft.
@@ -952,7 +952,7 @@ The routine will C<fail> if the file does not exist, or is a directory.
multi method spurt ($handle:
Str $contents,
- Str :$enc = "Unicode",
+ Str :$enc = "UTF-8",
Bool :append = False,
)
multi method spurt ($handle:
@@ -961,7 +961,7 @@ The routine will C<fail> if the file does not exist, or is a directory.
)
multi spurt (IO $fh,
Str $contents,
- Str :$enc = "Unicode",
+ Str :$enc = "UTF-8",
Bool :append = False,
)
multi spurt (IO $fh,
@@ -970,7 +970,7 @@ The routine will C<fail> if the file does not exist, or is a directory.
)
multi spurt (Str $filename,
Str $contents,
- Str :$enc = "Unicode",
+ Str :$enc = "UTF-8",
Bool :append = False,
)
multi spurt (Str $filename,

0 comments on commit 43780ff

Please sign in to comment.