projects
/
platform
/
framework
/
native
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed96af3
)
Add to convert markup to utf8
author
Choi Munseok
<ms47.choi@samsung.com>
Wed, 3 Apr 2013 11:06:01 +0000
(20:06 +0900)
committer
Choi Munseok
<ms47.choi@samsung.com>
Wed, 3 Apr 2013 11:06:01 +0000
(20:06 +0900)
Change-Id: Ia07118b02da7607b848ff82889e3ea9ee05aa06d
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/FUi_EcoreEvas.cpp
patch
|
blob
|
history
diff --git
a/src/ui/FUi_EcoreEvas.cpp
b/src/ui/FUi_EcoreEvas.cpp
index
36d2151
..
238b5aa
100644
(file)
--- a/
src/ui/FUi_EcoreEvas.cpp
+++ b/
src/ui/FUi_EcoreEvas.cpp
@@
-1494,6
+1494,16
@@
_EcoreEvas::RetrieveClipN(int index, int* format, char** pData)
return false;
}
+ // Convert markup to utf8.
+ if (dataType == ecore_x_atom_get("application/x-elementary-markup"))
+ {
+ char* pTempChar = evas_textblock_text_markup_to_utf8(NULL, *pData);
+ SysLog(NID_UI, "[Clipboard] markup[%s] -> utf8[%s]", *pData, pTempChar);
+ free(*pData);
+
+ *pData = pTempChar;
+ }
+
return true;
}