mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
iassume ascii as fallback encoding if registry mapping fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24026 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8e248cb078
commit
c0e8aa4c2a
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-11-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/xlib/XGFont.m: Assume ascii encoding as a fallback if no
|
||||
mapping can be found from the font registry to the encoding.
|
||||
|
||||
2006-10-31 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/x11/XGServerEvent.m (_handleTakeFocusAtom:forContext:):
|
||||
|
|
|
@ -332,6 +332,10 @@ static BOOL XGInitAtoms(Display *dpy)
|
|||
= [GSMimeDocument encodingFromCharset: encodingScheme];
|
||||
NSDebugLog(@"Found encoding %d for %@",
|
||||
mostCompatibleStringEncoding, encodingScheme);
|
||||
if (mostCompatibleStringEncoding == GSUndefinedEncoding)
|
||||
{
|
||||
mostCompatibleStringEncoding = NSASCIIStringEncoding;
|
||||
}
|
||||
RETAIN(encodingScheme);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue