Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
474c4753
...
474c4753f36e005df0ac71855d1e70a8d3e38d1d
authored
2004-01-12 23:06:01 +0000
by
Wojciech Polak
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(util_rfc2047_decode): Test LANG if LC_ALL is null.
1 parent
4d8e49c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
mail/util.c
mail/util.c
View file @
474c475
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002, 2003,
2004 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -1339,9 +1340,12 @@ util_rfc2047_decode (char **value)
return
;
if
(
strcasecmp
(
charset
,
"auto"
)
==
0
)
{
/* Try to deduce the charset from LC_ALL
variable
*/
/* Try to deduce the charset from LC_ALL
or LANG variables
*/
tmp
=
getenv
(
"LC_ALL"
);
if
(
!
tmp
)
tmp
=
getenv
(
"LANG"
);
if
(
tmp
)
{
char
*
sp
;
...
...
Please
register
or
sign in
to post a comment