Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 146844 Details for
Bug 225188
Charset handling is less than perfect
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Workaround/fix for codepage problems
unrtf_0.20.2-fb2ansi.patch (text/plain), 824 bytes, created by
Robert Vogelgesang
on 2007-01-29 17:53:43 UTC
(
hide
)
Description:
Workaround/fix for codepage problems
Filename:
MIME Type:
Creator:
Robert Vogelgesang
Created:
2007-01-29 17:53:43 UTC
Size:
824 bytes
patch
obsolete
> This patch implements a fall-back from Unicode to plain ANSI > conversion. > I think this is what was originally intended when writing the > Codepage tables with that many 0's (in convert.c). > With this patch, e. g. conversion of "umlauts" works again when > using codepage 1252. > >diff -u unrtf_0.20.2/src/output.c.fb2ansi unrtf_0.20.2/src/output.c >--- unrtf_0.20.2/src/output.c.fb2ansi 2006-06-18 10:45:19.000000000 +0200 >+++ unrtf_0.20.2/src/output.c 2006-08-04 13:50:16.000000000 +0200 >@@ -150,8 +150,9 @@ > if (codepage->chars[ch - 0x80]) { > result = op->unisymbol_print(codepage->chars[ch - 0x80]); > } >- } else { >- start = op->ansi_first_char; >+ } >+ if (!result) { >+ start = op->ansi_first_char; > if (ch >= start && > ch <= op->ansi_last_char) > result = op->ansi_translation_table [ch-start];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 225188
: 146844