Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1d093b7f
Commit
1d093b7f
authored
Mar 26, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
charset2html.c:
Don't print control characters mysys/charset2html.c: Don't print control characters
parent
918519ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
mysys/charset2html.c
mysys/charset2html.c
+15
-3
No files found.
mysys/charset2html.c
View file @
1d093b7f
...
...
@@ -93,9 +93,21 @@ static void print_cs(CHARSET_INFO *cs)
ch
[
i
].
ctp
&
_MY_B
?
"B"
:
""
,
ch
[
i
].
ctp
&
_MY_X
?
"X"
:
""
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
uni
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
low
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
upp
);
if
((
ch
[
i
].
uni
>=
0x80
)
&&
(
ch
[
i
].
uni
<=
0x9F
))
{
/*
Control characters 0x0080..0x009F are dysplayed by some
browers as if they were letters. Don't print them to
avoid confusion.
*/
printf
(
"<TD>ctrl<TD>ctrl<TD>ctrl"
);
}
else
{
printf
(
"<TD>&#%d;"
,
ch
[
i
].
uni
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
low
);
printf
(
"<TD>&#%d;"
,
ch
[
i
].
upp
);
}
printf
(
"</TR>
\n
"
);
srt
=
ch
[
i
].
srt
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment