diff options
author | Hans Bolinder <[email protected]> | 2013-01-09 10:00:46 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2013-01-09 10:00:46 +0100 |
commit | ec68166e7512cb442f4995c0e3044a106f1a6372 (patch) | |
tree | ba5f395e721076ef1fac49ee4ed856e76cb316df /lib/stdlib/test/string_SUITE.erl | |
parent | 151f7832c74975297b1dce6302dd192285d7c2a8 (diff) | |
parent | 93d2c2c88e88168354782f356bdf572d0c3aa462 (diff) | |
download | otp-ec68166e7512cb442f4995c0e3044a106f1a6372.tar.gz otp-ec68166e7512cb442f4995c0e3044a106f1a6372.tar.bz2 otp-ec68166e7512cb442f4995c0e3044a106f1a6372.zip |
Merge branch 'hb/prepare_for_unicode/OTP-10630'
* hb/prepare_for_unicode/OTP-10630:
Prepare OTP files for Unicode as default encoding
Diffstat (limited to 'lib/stdlib/test/string_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/string_SUITE.erl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/stdlib/test/string_SUITE.erl b/lib/stdlib/test/string_SUITE.erl index 6969c095a0..96e653985f 100644 --- a/lib/stdlib/test/string_SUITE.erl +++ b/lib/stdlib/test/string_SUITE.erl @@ -1,7 +1,8 @@ +%% -*- coding: utf-8 -*- %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2004-2011. All Rights Reserved. +%% Copyright Ericsson AB 2004-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -473,8 +474,8 @@ to_upper_to_lower(suite) -> to_upper_to_lower(doc) -> []; to_upper_to_lower(Config) when is_list(Config) -> - ?line "1234ABCDEF���=" = string:to_upper("1234abcdef���="), - ?line "����������abc()" = string:to_lower("����������abc()"), + ?line "1234ABCDEFÅÄÖ=" = string:to_upper("1234abcdefåäö="), + ?line "éèíúùòóåäöabc()" = string:to_lower("ÉÈÍÚÙÒÓÅÄÖabc()"), ?line All = lists:seq(0, 255), ?line UC = string:to_upper(All), |