Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Unified Diff: runtime/vm/unicode.h

Issue 11365243: Revert OneByteString back to ISO Latin-1 instead of ASCII (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/symbols.cc ('k') | runtime/vm/unicode.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/unicode.h
===================================================================
--- runtime/vm/unicode.h (revision 14982)
+++ runtime/vm/unicode.h (working copy)
@@ -15,7 +15,7 @@
class Utf8 : AllStatic {
public:
enum Type {
- kAscii = 0, // ASCII character set.
+ kLatin1 = 0, // Latin-1 character set.
kBMP, // Basic Multilingual Plane.
kSMP, // Supplementary Multilingual Plane.
};
@@ -46,10 +46,10 @@
intptr_t array_len,
int32_t* ch);
- static bool DecodeToAscii(const uint8_t* utf8_array,
- intptr_t array_len,
- uint8_t* dst,
- intptr_t len);
+ static bool DecodeToLatin1(const uint8_t* utf8_array,
+ intptr_t array_len,
+ uint8_t* dst,
+ intptr_t len);
static bool DecodeToUTF16(const uint8_t* utf8_array,
intptr_t array_len,
uint16_t* dst,
« no previous file with comments | « runtime/vm/symbols.cc ('k') | runtime/vm/unicode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698