Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3041)

Issue 577440043: Introduce ly_scm2utf8string, and use it for printing text (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 2 months ago by hanwenn
Modified:
4 years, 1 month ago
Reviewers:
dak, Dan Eble
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Introduce ly_scm2utf8string, and use it for printing text Before, Text_interface::interpret_string used ly_scm2string, which runs scm_to_locale_stringn to get at the string. The default locale is "C", so all Unicode chars are then converted to "?".

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase; rename. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M lily/include/lily-guile.hh View 1 1 chunk +1 line, -0 lines 0 comments Download
M lily/lily-guile.cc View 1 2 chunks +18 lines, -1 line 0 comments Download
M lily/text-interface.cc View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 8
hanwenn
I think this may have lacked sf.net issue. Please review.
4 years, 2 months ago (2020-01-30 10:01:51 UTC) #1
Dan Eble
https://codereview.appspot.com/577440043/diff/553450043/lily/include/lily-guile.hh File lily/include/lily-guile.hh (right): https://codereview.appspot.com/577440043/diff/553450043/lily/include/lily-guile.hh#newcode60 lily/include/lily-guile.hh:60: std::string ly_scm2utf8_string (SCM); The second underscore makes this stand ...
4 years, 2 months ago (2020-01-30 15:03:02 UTC) #2
hanwenn
On 2020/01/30 15:03:02, Dan Eble wrote: > https://codereview.appspot.com/577440043/diff/553450043/lily/include/lily-guile.hh > File lily/include/lily-guile.hh (right): > > https://codereview.appspot.com/577440043/diff/553450043/lily/include/lily-guile.hh#newcode60 ...
4 years, 2 months ago (2020-01-31 18:01:32 UTC) #3
Dan Eble
On 2020/01/31 18:01:32, hanwenn wrote: > > The second underscore makes this stand out from ...
4 years, 2 months ago (2020-01-31 18:03:25 UTC) #4
hanwenn
rebase; rename.
4 years, 2 months ago (2020-02-01 11:36:19 UTC) #5
hanwenn
On 2020/02/01 11:36:19, hanwenn wrote: > rebase; rename. PTAL
4 years, 2 months ago (2020-02-01 20:59:02 UTC) #6
Dan Eble
LGTM
4 years, 2 months ago (2020-02-01 21:03:47 UTC) #7
hanwenn
4 years, 1 month ago (2020-03-21 23:03:36 UTC) #8
covered by  

commit f756cab383d91faa6430a1c7f1b041f7855721a9
Author: Jonas Hahnfeld <hahnjo@hahnjo.de>
Date:   Sat Mar 7 19:44:48 2020 +0100

    Issue 5834/2: Use UTF-8 for all conversions to / from Scheme
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b