Searched refs:utf8 (Results 1 - 25 of 506) sorted by relevance

1234567891011>>

/macosx-10.9.5/CPANInternal-140/JSON/t/
H A De08_decode.t18 no utf8;
23 is($json->decode(q|"��"|), "��"); # utf8
25 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
27 my $str = '���'; # Japanese 'a' in utf8
31 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
36 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
38 utf8::encode($utf8); # UTf-8 flaged off
40 is($utf8, "\xf0\x92\x8d\x85");
H A Dxe08_decode.t18 no utf8;
26 is($json->decode(q|"��"|), "��"); # utf8
28 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
30 my $str = '���'; # Japanese 'a' in utf8
34 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
39 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
41 utf8::encode($utf8); # UTf-8 flaged off
43 is($utf8, "\xf0\x92\x8d\x85");
/macosx-10.9.5/CPANInternal-140/JSON-2.53/t/
H A De08_decode.t18 no utf8;
23 is($json->decode(q|"��"|), "��"); # utf8
25 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
27 my $str = '���'; # Japanese 'a' in utf8
31 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
36 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
38 utf8::encode($utf8); # UTf-8 flaged off
40 is($utf8, "\xf0\x92\x8d\x85");
H A Dxe08_decode.t18 no utf8;
26 is($json->decode(q|"��"|), "��"); # utf8
28 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
30 my $str = '���'; # Japanese 'a' in utf8
34 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
39 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
41 utf8::encode($utf8); # UTf-8 flaged off
43 is($utf8, "\xf0\x92\x8d\x85");
/macosx-10.9.5/ruby-104/ruby/test/json/
H A Dtest_json_unicode.rb17 utf8 = [ "�� ��� ���! \01" ]
19 assert_equal json, utf8.to_json(:ascii_only => false)
20 assert_equal utf8, parse(json)
22 assert_equal json, utf8.to_json(:ascii_only => true)
23 assert_equal utf8, parse(json)
24 utf8 = ["\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212"]
26 assert_equal utf8, parse(json)
27 assert_equal json, utf8.to_json(:ascii_only => false)
28 utf8 = ["\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212"]
29 assert_equal utf8, pars
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bindings/gobject/
H A DConvertToUTF8String.cpp32 return g_strdup(s.utf8().data());
37 return g_strdup(s.string().utf8().data());
/macosx-10.9.5/CPANInternal-140/JSON-Any/t/
H A D02-JSON-XS.t3 use utf8;
21 ok( $json = JSON::Any->new( allow_nonref => 1, utf8 => 1 ) );
27 utf8::encode($str) if $bytes;
28 ok( $json = JSON::Any->new( allow_nonref => 1, utf8 => $utf8_support ) );
38 ok( $json = JSON::Any->new( allow_nonref => 1, ascii => 1, utf8 => 1 ) );
44 utf8 => 1,
49 ok( $json = JSON::Any->new( allow_nonref => 1, utf8 => 1 ) );
H A D10_unicode.t4 use utf8;
14 $ENV{JSON_ANY_CONFIG} = "utf8=1";
38 ok( utf8::is_utf8($frozen) || !scalar( $frozen !~ /[\w\d[:punct:]]/ ),
39 "json output is utf8" );
51 ok( utf8::is_utf8( $thawed->[0] ) || !scalar( $text !~ /[a-z]/ ),
52 "text is utf8 if it needs to be" );
54 if ( utf8::valid($frozen) ) {
55 utf8::decode($frozen);
69 ok( utf8::is_utf8( $thawed->[0] ) || !scalar( $text !~ /[a-z]/ ),
70 "text is utf8 i
[all...]
/macosx-10.9.5/WebKit-7537.78.2/efl/WebCoreSupport/
H A DNavigatorContentUtilsClientEfl.cpp68 Ewk_Custom_Handler_Data* data = customHandlerDataCreate(m_view, scheme.utf8().data(), baseURL.utf8().data(), url.utf8().data());
69 data->title = eina_stringshare_add(title.utf8().data());
78 Ewk_Custom_Handler_Data* data = customHandlerDataCreate(m_view, scheme.utf8().data(), baseURL.utf8().data(), url.utf8().data());
87 Ewk_Custom_Handler_Data* data = customHandlerDataCreate(m_view, scheme.utf8().data(), baseURL.utf8().data(), url.utf8()
[all...]
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebKitSupport/
H A DPagePopupClient.cpp56 writer.addData(m_source.utf8().data(), m_source.utf8().length());
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/InjectedBundle/efl/
H A DInjectedBundleEfl.cpp39 m_platformBundle = eina_module_new(m_path.utf8().data());
45 EINA_LOG_CRIT("Error loading the injected bundle from %s: %s", m_path.utf8().data(), eina_error_msg_get(eina_error_get()));
/macosx-10.9.5/WebKit-7537.78.2/gtk/WebCoreSupport/
H A DTextCheckerClientGtk.cpp54 webkit_spell_checker_ignore_word(m_spellChecker.get(), text.utf8().data());
59 webkit_spell_checker_learn_word(m_spellChecker.get(), text.utf8().data());
65 webkit_spell_checker_check_spelling_of_string(m_spellChecker.get(), textAsString.utf8().data(), misspellingLocation, misspellingLength);
70 return webkit_spell_checker_get_autocorrect_suggestions_for_misspelled_word(m_spellChecker.get(), inputWord.utf8().data());
80 char** suggestions = webkit_spell_checker_get_guesses_for_word(m_spellChecker.get(), word.utf8().data(), context.utf8().data());
/macosx-10.9.5/pcre-7/pcre/
H A Dpcre_newline.c70 utf8 TRUE if in utf8 mode
76 _pcre_is_newline(USPTR ptr, int type, USPTR endptr, int *lenptr, BOOL utf8) argument
79 if (utf8) { GETCHAR(c, ptr); } else c = *ptr;
98 case 0x0085: *lenptr = utf8? 2 : 1; return TRUE; /* NEL */
119 utf8 TRUE if in utf8 mode
125 _pcre_was_newline(USPTR ptr, int type, USPTR startptr, int *lenptr, BOOL utf8) argument
130 if (utf8)
155 case 0x0085: *lenptr = utf8
[all...]
/macosx-10.9.5/CPANInternal-140/JSON-Any-1.29/t/
H A D02-JSON-XS.t3 use utf8;
21 ok( $json = JSON::Any->new( allow_nonref => 1, utf8 => 1 ) );
27 utf8::encode($str) if $bytes;
28 ok( $json = JSON::Any->new( allow_nonref => 1, utf8 => $utf8_support ) );
38 ok( $json = JSON::Any->new( allow_nonref => 1, ascii => 1, utf8 => 1 ) );
44 utf8 => 1,
49 ok( $json = JSON::Any->new( allow_nonref => 1, utf8 => 1 ) );
H A D10_unicode.t4 use utf8;
14 $ENV{JSON_ANY_CONFIG} = "utf8=1";
38 ok( utf8::is_utf8($frozen) || !scalar( $frozen !~ /[\w\d[:punct:]]/ ),
39 "json output is utf8" );
51 ok( utf8::is_utf8( $thawed->[0] ) || !scalar( $text !~ /[a-z]/ ),
52 "text is utf8 if it needs to be" );
54 if ( utf8::valid($frozen) ) {
55 utf8::decode($frozen);
69 ok( utf8::is_utf8( $thawed->[0] ) || !scalar( $text !~ /[a-z]/ ),
70 "text is utf8 i
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/gtk/
H A DUserAgentGtk.cpp90 DEFINE_STATIC_LOCAL(const CString, uaVersion, (String::format("%i.%i", USER_AGENT_GTK_MAJOR_VERSION, USER_AGENT_GTK_MINOR_VERSION).utf8()));
93 platformForUAString(), platformVersionForUAString().utf8().data(),
102 return String::format("%s %s/%s", staticUA.utf8().data(), applicationName.utf8().data(), finalApplicationVersion.utf8().data());
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/efl/tests/UnitTestUtils/
H A DEWK2UnitTestEnvironment.cpp52 return makeString("file://"TEST_RESOURCES_DIR"/", resource).utf8();
60 return builder.toString().utf8();
68 return builder.toString().utf8();
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/gtk/
H A DIconGtk.cpp77 if(gtk_icon_theme_has_icon(iconTheme, iconName.utf8().data()))
80 if(gtk_icon_theme_has_icon(iconTheme, iconName.utf8().data()))
83 if(gtk_icon_theme_has_icon(iconTheme, iconName.utf8().data()))
86 if(gtk_icon_theme_has_icon(iconTheme, iconName.utf8().data()))
99 if (!g_path_skip_root(filenames[0].utf8().data()))
106 icon->m_icon = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), iconName.utf8().data(), 16, GTK_ICON_LOOKUP_USE_BUILTIN, 0);
/macosx-10.9.5/WebKit-7537.78.2/gtk/gdom/
H A DConvertToGCharPrivate.h30 return g_strdup(s.utf8().data());
45 return g_strdup(s.string().utf8().data());
/macosx-10.9.5/WebCore-7537.78.1/platform/network/soup/
H A DResourceRequestSoup.cpp43 soup_message_headers_append(soupHeaders, it->key.string().utf8().data(), it->value.utf8().data());
60 g_object_set(soupMessage, SOUP_MESSAGE_METHOD, httpMethod().utf8().data(), NULL);
69 GOwnPtr<SoupURI> firstParty(soup_uri_new(firstPartyString.utf8().data()));
78 SoupMessage* soupMessage = soup_message_new(httpMethod().utf8().data(), url().string().utf8().data());
86 GOwnPtr<SoupURI> firstParty(soup_uri_new(firstPartyString.utf8().data()));
142 return soup_uri_new(urlString.utf8().data());
147 SoupURI* uri = soup_uri_new(url.string().utf8().data());
154 soup_uri_set_user(uri, url.user().utf8()
[all...]
/macosx-10.9.5/CPANInternal-140/Data-Dump-1.21/t/
H A Dquote-unicode.t27 ok(utf8::is_utf8($a));
30 ok(utf8::is_utf8($a));
/macosx-10.9.5/WebCore-7537.78.1/platform/blackberry/
H A DFileSystemBlackBerry.cpp34 return path.utf8();
/macosx-10.9.5/WebCore-7537.78.1/platform/efl/
H A DEflInspectorUtilities.cpp32 if (access(inspectorResourcePath.utf8().data(), R_OK))
H A DFileSystemEfl.cpp57 char* filename = g_uri_unescape_string(path.utf8().data(), 0);
62 return path.utf8();
88 CString cfilter = filter.utf8();
91 Eina_Iterator* it = eina_file_ls(path.utf8().data());
/macosx-10.9.5/WebKit2-7537.78.2/Platform/gtk/
H A DModuleGtk.cpp38 m_handle = g_module_open(m_path.utf8().data(), G_MODULE_BIND_LAZY);

Completed in 185 milliseconds

1234567891011>>