pike.git/
src/
program.c
Branch:
Tag:
Non-build tags
All tags
No tags
2008-03-20
2008-03-20 15:34:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e76ec40da8b3761fe5bcb66837c1b815ff8be9cf (
9
lines) (+
8
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Support inherited files having names encoded according to UTF-8.
Rev: src/program.c:1.654
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: program.c,v 1.
653
2008/
02
/
27
23
:
59
:
23
grubba Exp $
+
|| $Id: program.c,v 1.
654
2008/
03
/
20
15
:
34
:
37
grubba Exp $
*/ #include "global.h"
4460:
reference_shared_string(s); push_string(s);
+
if (!TEST_COMPAT(7,6)) {
+
/* In Pike 7.7 and later filenames belonging to Pike are assumed
+
* to be encoded according to UTF-8.
+
*/
+
f_string_to_utf8(1);
+
}
ref_push_string(lex.current_file); if (error_handler && error_handler->prog) { ref_push_object(error_handler);