You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/03/03 05:42:36 UTC

[3/4] incubator-weex git commit: * [android] Android support emoji now.

* [android] Android support emoji now.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/9086af4a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/9086af4a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/9086af4a

Branch: refs/heads/dev
Commit: 9086af4a0564e475de266a0020adf6ec1511064f
Parents: ba53882
Author: YorkShen <sh...@gmail.com>
Authored: Thu Mar 2 11:10:06 2017 +0800
Committer: YorkShen <sh...@gmail.com>
Committed: Thu Mar 2 11:50:19 2017 +0800

----------------------------------------------------------------------
 doc/source/cn/faq.md | 4 ----
 doc/source/faq.md    | 3 ---
 2 files changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9086af4a/doc/source/cn/faq.md
----------------------------------------------------------------------
diff --git a/doc/source/cn/faq.md b/doc/source/cn/faq.md
index 6ef3f75..871a857 100644
--- a/doc/source/cn/faq.md
+++ b/doc/source/cn/faq.md
@@ -82,10 +82,6 @@ modal.toast({message: 'hello'})
 
 `overflow` \u6837\u5f0f\u5728 Android \u9ed8\u8ba4\u4e3a `hidden` \u5e76\u4e14\u65e0\u6cd5\u4fee\u6539\uff0c\u539f\u56e0\u662f Android View framework \u9650\u5236\u3002\u8fd9\u4e2a\u95ee\u9898\u53ea\u51fa\u73b0\u5728 Android \u7aef\uff0ciOS \u7aef\u548c H5 \u6b63\u5e38\u3002
 
-## Android \u4e0d\u652f\u6301 emoji
-
-\u7531\u4e8e Android NDK \u4ec5\u652f\u6301 Modified UTF-8\uff0c\u56e0\u6b64\u4e0d\u652f\u6301 emoji\u3002Android 6.0 \u4ee5\u4e0b\u4f7f\u7528 emoji \u53ef\u80fd\u4f1a\u5bfc\u81f4\u5d29\u6e83\uff0c\u5728 Android 6.0 \u4ee5\u4e0a\u5219\u53ef\u80fd\u51fa\u73b0\u610f\u5916\u7684\u884c\u4e3a\u3002\u53ea\u80fd\u4f7f\u7528 Modified UTF-8\uff0c**\u4e0d\u8981\u4f7f\u7528 emoji**\u3002
-
 ## \u5982\u4f55\u53d6\u6d88 750 \u50cf\u7d20\u81ea\u9002\u5e94\u5e76\u4ee5\u5bbd\u9ad8\u6bd4\u8ba1\u7b97\u771f\u5b9e\u50cf\u7d20\uff1f
 
 `this.$getConfig()` \u65b9\u6cd5\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5bf9\u8c61\uff0c\u8fd9\u4e2a\u5bf9\u8c61\u7684 `deviceHeight` \u548c `deviceWidth` \u5c5e\u6027\u5373\u5b9e\u9645\u8bbe\u5907\u5bbd\u5ea6/\u9ad8\u5ea6\uff08\u4ee5\u50cf\u7d20\u4e3a\u5355\u4f4d\uff09\uff0c\u800c\u4e0d\u662f\u4ee5 750 \u9002\u914d\u7684\u3002

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/9086af4a/doc/source/faq.md
----------------------------------------------------------------------
diff --git a/doc/source/faq.md b/doc/source/faq.md
index d3e5ea2..4c21d20 100644
--- a/doc/source/faq.md
+++ b/doc/source/faq.md
@@ -75,9 +75,6 @@ We will bring a better syntax design in the future.
 ## Android only support `overflow:hidden`
 The `overflow` style in android is `hidden` and cannot be changed. This is the result of Android View framework. This only happens on Android, iOS will work as expected.
 
-## Android do not support emoji
-As Android NDK only supports Modified UTF-8, emoji is not support yet. Any attemp to use emoji may cause crash in case of lower than Android 6.0, and unexpected behavior when it is higher than 6.0. Only use Modified UTF-8, **do not** use emoji.
-
 ## How to get rid of 750 adaption and calculate width/height in real pixels\uff1f
 
 The deviceHeight and deviceWidth got in `this.$getConfig()` is the real device width/height in pixels, not the ones with 750-adapted.