mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[chore] replace utf8 bytes with Unicode escape sequence
This commit is contained in:
@@ -129,7 +129,7 @@ function SpinWidget:update(numberpicker_value, numberpicker_value_index)
|
||||
if self.unit == "°" then
|
||||
unit = self.unit
|
||||
elseif self.unit ~= "" then
|
||||
unit = "\xE2\x80\xAF" .. self.unit -- use Narrow No-Break Space (NNBSP) here
|
||||
unit = "\u{202F}" .. self.unit -- use Narrow No-Break Space (NNBSP) here
|
||||
end
|
||||
end
|
||||
local value
|
||||
|
||||
Reference in New Issue
Block a user