Bug 103037 - Unicode input in Windows doesn't work properly
Summary: Unicode input in Windows doesn't work properly
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-06 13:42 UTC by Aron Budea
Modified: 2016-10-06 16:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2016-10-06 13:42:19 UTC
Unicode characters can be input in Windows via hexadecimal codes as described here: https://en.wikipedia.org/wiki/Unicode_input#In_Microsoft_Windows
By default the input is decimal (can be changed to hexadecimal in registry).

In bug 101962 one of the "ü" characters is 0x75 + unicode binding 0x0308. In decimal this is 117 + 776.

In WordPad typing Alt+117 yields "u", then adding Alt+776 yields "ü".
In Writer typing Alt+117 yields "u", then adding Alt+776 yields "u◘".

Behavior is the same since 3.3.0.
The same issue might exist in other OSes, but I haven't checked.
Comment 1 Dennis Roczek 2016-10-06 14:19:02 UTC
confirmed with
Version: 5.2.1.2 (x64)
Build-ID: 31dd62db80d4e60af04904455ec9c9219178d620
CPU-Threads: 4; BS-Version: Windows 6.19; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group

(win 10 x64 professional with anniversary update)
Comment 2 Aron Budea 2016-10-06 14:30:09 UTC
Interesting detail, this doesn't work in Firefox and Vivaldi browsers, either.
Comment 3 Aron Budea 2016-10-06 15:18:15 UTC
Another detail, Dennis found these links on Unicode input in Windows:
http://www.irongeek.com/alt-numpad-ascii-key-combos-and-chart.html
http://www.fileformat.info/tip/microsoft/enter_unicode.htm

Method 4 on the Fileformat.info link is really nice, typing the following yields "ü" in WordPad: "u0308" then Alt+X.

In LibreOffice it's also supported, but is buggy, and produces "u030U+0038".
On the other hand, "0308" and Alt+X produces a special " character, then hitting left arrow, and typing "u" yields the correct "ü" character.

This didn't work for Dennis, as Alt+X opens Extras menu for him.
Comment 4 V Stuart Foote 2016-10-06 16:41:43 UTC
(In reply to Aron Budea from comment #0)
> ...
> 
> In WordPad typing Alt+117 yields "u", then adding Alt+776 yields "ü".
> In Writer typing Alt+117 yields "u", then adding Alt+776 yields "u◘".
> 

Enter U+0075U+0308 and then toggle. Result?

We have implemented our own reliable methods for handling Unicode input.

The LibreOffice Special Character dialog, or

as implemented for bug 73691, if you enter U+0075U+0308 in any LibreOffice module and toggle with <alt>+X, you get the combined ü

The Hex input using Windows number pad is not a reliable means of input. What we provide suffices.
Comment 5 V Stuart Foote 2016-10-06 16:48:55 UTC
(In reply to Aron Budea from comment #3)
> 
> This didn't work for Dennis, as Alt+X opens Extras menu for him.

German local uses <Alt>+C for the Unicode toggle.