Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
iOS has a feature called "smart punctuation" which
automatically converts straight quotes(like "this" and 'this') to
curly quotes(like “this” and ‘this’) and two hyphens (–) to an em dash (—).
This is feature is automatically enabled but can be disabled in settings.
In the QML TextInput component, the property inputMethodHints can be used to
set the input behaviour, such as Qt.ImhNoAutoUppercase and
Qt.ImhNoPredictiveText.
Could there be similar property to disable smart punctuation?
Note: Apple has an API that can be used to disable smart punctuation: https://
developer.apple.com/documentation/uikit/uitextinputtraits/2865931-smartquotest
ype