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

Issue 4449061: Fix "make doc" error: Character set messup in pdf-scheme.cc (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Reinhold
Modified:
12 years, 10 months ago
Reviewers:
carl.d.sorensen, janneke, Neil Puttock, Graham Percival (old account)
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Fix "make doc" error: Character set messup in pdf-scheme.cc In "make doc", somehow the LANG env variable is cleared, so glib returned charset=ANSI_X3.4-1968 for the input string. This would disallow any accented characters in the input string. However, we know that the input string is by definition always UTF-8, so the solution is not to use the current locale, but hardcode UTF-8.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Include Jan's nitpicks (indent, strcpy, BOM comment); use scm_take_str for char* -> SCM conversion #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -20 lines) Patch
M lily/pdf-scheme.cc View 1 1 chunk +42 lines, -20 lines 6 comments Download

Messages

Total messages: 5
janneke
LGTM Some nitpicks, see below http://codereview.appspot.com/4449061/diff/1/lily/pdf-scheme.cc File lily/pdf-scheme.cc (left): http://codereview.appspot.com/4449061/diff/1/lily/pdf-scheme.cc#oldcode41 lily/pdf-scheme.cc:41: if (!g) { Please ...
13 years ago (2011-04-26 13:19:01 UTC) #1
Reinhold
On 2011/04/26 13:19:01, jan.nieuwenhuizen wrote: > LGTM > > Some nitpicks, see below New patch ...
13 years ago (2011-04-26 20:47:43 UTC) #2
Graham Percival (old account)
LTGM, please push now.
13 years ago (2011-04-28 12:20:11 UTC) #3
Neil Puttock
http://codereview.appspot.com/4449061/diff/4001/lily/pdf-scheme.cc File lily/pdf-scheme.cc (right): http://codereview.appspot.com/4449061/diff/4001/lily/pdf-scheme.cc#newcode30 lily/pdf-scheme.cc:30: "Encode the given string to either Latin1 (which is ...
13 years ago (2011-04-28 14:14:11 UTC) #4
Carl
13 years ago (2011-04-30 14:40:06 UTC) #5
LGTM, with Neil's comments implemented.
Sign in to reply to this message.

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