mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 00:00:50 +00:00
declare charset static to utf-8
This commit is contained in:
parent
550facb17f
commit
c8e2d51c8c
1 changed files with 5 additions and 0 deletions
|
@ -1259,6 +1259,11 @@ static NSMutableSet *textNodes = nil;
|
|||
[buf appendString: indent];
|
||||
[buf appendString: @"<head>\n"];
|
||||
[self incIndent];
|
||||
|
||||
/** charset/encoding should be in first 1024 bytes, so before title */
|
||||
[buf appendString: indent];
|
||||
[buf appendString: @"<meta charset=\"utf-8\">\n"];
|
||||
|
||||
children = firstElement(children);
|
||||
[buf appendString: indent];
|
||||
[buf appendString: @"<title>"];
|
||||
|
|
Loading…
Reference in a new issue