This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #title : remove_trailing_spaces.sh | |
| #description : Bash script to remove trailing spaces | |
| #author : Tran Khanh | |
| #date : 20/11/2015 | |
| #usage : bash remove_trailing_spaces.sh.sh | |
| #bash_version : version 3.2.57(1)-release (x86_64-apple-darwin15) | |
| #====================================================================== | |
| for file in ./* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Reset the mbstring internal encoding to a users previously set encoding. | |
| * | |
| * @see mbstring_binary_safe_encoding() | |
| * | |
| * @since 3.7.0 | |
| */ | |
| function reset_mbstring_encoding() { | |
| mbstring_binary_safe_encoding( true ); |