<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - LibreOffice BASE fails Unicode compliance when BASIC SQL update statements contain multi-byte characters, such as emoji. For example 😂 will appear as either a question mark, or as two different characters."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=131238">131238</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LibreOffice BASE fails Unicode compliance when BASIC SQL update statements contain multi-byte characters, such as emoji. For example 😂 will appear as either a question mark, or as two different characters.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.3.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Base
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mfpublic11@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
Note well. Direct entry of an emoji into a table in LibreOffice via the Winkey
period dialog, or by simply pasting it in, works.
But, trying to enter the data via the BASIC SQL Statement command fails.
Example code below.
Similarly, reading a record from a SQLite table that contains an emoji into a
recordset, and then writing from the recordset to another table fails.
Using an SQL substring statement to copy a portion of the record from one table
to another works.
I therefore there is something in the LibreOffice functions to write to a
database that is not Unicode compliant.
Steps to Reproduce:
1.See attached document with sample code and screen shots and results and
tracelogs
2.
3.
Actual Results:
It maps the emoji to either question marks, or to multiple characters with
incorrect shapes. It appears to be interpreting a multi-byte emoji character
as two single-byte characters
Expected Results:
Emoji entered into the database
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 6.3.4.2 (x64)
Build ID: 60da17e045e08f1793c57c00ba83cdfce946d0aa
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>