summaryrefslogtreecommitdiff
path: root/test-suite/standalone/test-command-line-encoding
AgeCommit message (Collapse)AuthorFilesLines
2021-01-21in command line encoding test don't presume extant UTF-8 localeMichael Gran1-1/+4
* test-suite/standalone/test-command-line-encoding: abort if locale is not UTF-8
2011-12-15Arrange to convert command-line arguments from the right encoding.Ludovic Courtès1-0/+24
This is a temporary workaround for the 2.0 stable series. The next stable series should have an implicit `setlocale (LC_ALL, "")' call, which will make this unnecessary. * libguile/feature.c (progargs_fluid): Rename to... (scm_program_arguments_fluid): ... this. Update users. * libguile/feature.h (scm_program_arguments_fluid): New internal declaration. * libguile/init.c (invoke_main_func): Call `scm_i_set_boot_program_arguments' instead of `scm_set_program_arguments'. * libguile/script.c (locale_arguments_to_string_list, scm_i_set_boot_program_arguments): New functions. (scm_compile_shell_switches): Use `locale_arguments_to_string_list'. * libguile/script.h (scm_i_set_boot_program_arguments): New internal declaration. * test-suite/standalone/Makefile.am (check_SCRIPTS, TESTS): Add `test-command-line-encoding'. * test-suite/standalone/test-command-line-encoding: New file.