Discussion:
How to Remove/Uninstall UTF-8 Encoding
(too old to reply)
Ross
2009-03-24 02:34:11 UTC
Permalink
Hi there,
My software developers ask me to remove UTF-8 encoding from a Linux machine
(Fedora) to run test, especially, they ask me to remove the EUCJP support.
I really don't know where the UTF-8 encoding come from, or where the EUCJP
is sitting. Is it some rpm packages related?
How could I remove it?
Any idea would be greatly appreciated.
Ross
Greg Russell
2009-03-24 03:37:04 UTC
Permalink
Post by Ross
My software developers ask me to remove UTF-8 encoding from a Linux machine
(Fedora) to run test, especially, they ask me to remove the EUCJP support.
I really don't know where the UTF-8 encoding come from, or where the EUCJP
is sitting. Is it some rpm packages related?
How could I remove it?
You'd be better off removing your "software developers."

$ rpm -q --whatprovides /usr/lib/locale/ja_JP.eucjp
glibc-common-2.5-24.el5_2.2
Ross
2009-03-24 13:35:17 UTC
Permalink
There is no ja_JP.eucjp under /usr/lib/locale. Instead, there are only two
files under it -- locale-archive and locale-archive.tmpl
But I do see ja_JP.eucjp from the output of "locale -a" command.

Thanks,
Ross
Post by Ross
Post by Ross
My software developers ask me to remove UTF-8 encoding from a Linux
machine
Post by Ross
(Fedora) to run test, especially, they ask me to remove the EUCJP support.
I really don't know where the UTF-8 encoding come from, or where the EUCJP
is sitting. Is it some rpm packages related?
How could I remove it?
You'd be better off removing your "software developers."
$ rpm -q --whatprovides /usr/lib/locale/ja_JP.eucjp
glibc-common-2.5-24.el5_2.2
Allen Kistler
2009-03-24 04:37:06 UTC
Permalink
Post by Ross
My software developers ask me to remove UTF-8 encoding from a Linux machine
(Fedora) to run test, especially, they ask me to remove the EUCJP support.
I really don't know where the UTF-8 encoding come from, or where the EUCJP
is sitting. Is it some rpm packages related?
How could I remove it?
Any idea would be greatly appreciated.
Are you talking about UTF-8/MBCS on the OS itself or, perhaps, on an
Apache web server? If Apache, then check out the AddDefaultCharset
directive. In particular "AddDefaultCharset Off" might be what you need.

Otherwise, please provide more details about the context.
Ross
2009-03-24 13:44:37 UTC
Permalink
Thanks Allen.
I think it's about UTF-8 on the OS itself.
I am just asked to remove UTF-8 encoding. Some customers have problems to
run my company's software without UTF-8 encoding. So, the developers/QA's
need to run test on a Linux machine without UTF-8 encoding.

Thanks again,
Ross
Post by Allen Kistler
Post by Ross
My software developers ask me to remove UTF-8 encoding from a Linux
machine (Fedora) to run test, especially, they ask me to remove the EUCJP
support.
I really don't know where the UTF-8 encoding come from, or where the
EUCJP is sitting. Is it some rpm packages related?
How could I remove it?
Any idea would be greatly appreciated.
Are you talking about UTF-8/MBCS on the OS itself or, perhaps, on an
Apache web server? If Apache, then check out the AddDefaultCharset
directive. In particular "AddDefaultCharset Off" might be what you need.
Otherwise, please provide more details about the context.
Dan Espen
2009-03-24 14:19:50 UTC
Permalink
Post by Ross
Hi there,
My software developers ask me to remove UTF-8 encoding from a Linux machine
(Fedora) to run test, especially, they ask me to remove the EUCJP support.
I really don't know where the UTF-8 encoding come from, or where the EUCJP
is sitting. Is it some rpm packages related?
How could I remove it?
They are probably asking you to set the default environment
to one that doesn't use UTF.

My guess is they want you to change /etc/sysconfig/i18n so that it
doesn't contain .UTF-8.

Just my opinion, but
you need to work on some communications issues.
Get them to describe the problem they have, or if they
have, when you post here, pass on the information.
Ross
2009-03-24 18:13:39 UTC
Permalink
I am pretty sure they need to completely remove the UTF-8 encoding from the
system, because I have done this for Solaris and AIX systems which are easy,
but I don't know how to do it on Linux. I don't know which packages/software
are the UTF-8 encoding related on Linux.

Thanks,
Ross
Post by Dan Espen
Post by Ross
Hi there,
My software developers ask me to remove UTF-8 encoding from a Linux machine
(Fedora) to run test, especially, they ask me to remove the EUCJP support.
I really don't know where the UTF-8 encoding come from, or where the EUCJP
is sitting. Is it some rpm packages related?
How could I remove it?
They are probably asking you to set the default environment
to one that doesn't use UTF.
My guess is they want you to change /etc/sysconfig/i18n so that it
doesn't contain .UTF-8.
Just my opinion, but
you need to work on some communications issues.
Get them to describe the problem they have, or if they
have, when you post here, pass on the information.
Dan Espen
2009-03-25 16:44:08 UTC
Permalink
Post by Ross
Post by Dan Espen
Post by Ross
Hi there,
My software developers ask me to remove UTF-8 encoding from a Linux machine
(Fedora) to run test, especially, they ask me to remove the EUCJP support.
I really don't know where the UTF-8 encoding come from, or where the EUCJP
is sitting. Is it some rpm packages related?
How could I remove it?
They are probably asking you to set the default environment
to one that doesn't use UTF.
My guess is they want you to change /etc/sysconfig/i18n so that it
doesn't contain .UTF-8.
Just my opinion, but
you need to work on some communications issues.
Get them to describe the problem they have, or if they
have, when you post here, pass on the information.
I am pretty sure they need to completely remove the UTF-8 encoding from the
system, because I have done this for Solaris and AIX systems which are easy,
but I don't know how to do it on Linux. I don't know which packages/software
are the UTF-8 encoding related on Linux.
I'm completely in the dark.

Do they want you do go into /usr/share/locale
and remove all the UTF-8 stuff?

Is that what you did on Solaris and AIX?

What are they trying to do, it's still not clear.
Are they trying to save space or prevent someone from
exporting LANG=en_US.utf-8 or do they just not want to
be in a UTF-8 locale by default?

(Please don't top-post.)
Ross
2009-03-25 20:55:38 UTC
Permalink
Post by Dan Espen
Post by Ross
Post by Dan Espen
Post by Ross
Hi there,
My software developers ask me to remove UTF-8 encoding from a Linux machine
(Fedora) to run test, especially, they ask me to remove the EUCJP support.
I really don't know where the UTF-8 encoding come from, or where the EUCJP
is sitting. Is it some rpm packages related?
How could I remove it?
They are probably asking you to set the default environment
to one that doesn't use UTF.
My guess is they want you to change /etc/sysconfig/i18n so that it
doesn't contain .UTF-8.
Just my opinion, but
you need to work on some communications issues.
Get them to describe the problem they have, or if they
have, when you post here, pass on the information.
I am pretty sure they need to completely remove the UTF-8 encoding from the
system, because I have done this for Solaris and AIX systems which are easy,
but I don't know how to do it on Linux. I don't know which
packages/software
are the UTF-8 encoding related on Linux.
I'm completely in the dark.
Do they want you do go into /usr/share/locale
and remove all the UTF-8 stuff?
Is that what you did on Solaris and AIX?
What are they trying to do, it's still not clear.
Are they trying to save space or prevent someone from
exporting LANG=en_US.utf-8 or do they just not want to
be in a UTF-8 locale by default?
(Please don't top-post.)
Hi Dan,
Thanks a bunch for your kind reply!
Yes, they want to completely uninstall the UTF-8 encoding, and that's what I
did for Solaris and AIX.
It's not for saving space or for getting a default locale. They can change
locales by themselves.
Instead, they just want to test the errors of our software on all systems
where there is no UTF-8 installed at all.

Thanks again,
Ross
Dan Espen
2009-03-26 13:36:55 UTC
Permalink
Post by Ross
Yes, they want to completely uninstall the UTF-8 encoding, and that's what I
did for Solaris and AIX.
It's not for saving space or for getting a default locale. They can change
locales by themselves.
Instead, they just want to test the errors of our software on all systems
where there is no UTF-8 installed at all.
Interesting.

Where I work, we only test in environments we expect to encounter.

On the systems I admin, if there are no "standard" tools to create
the environment, I resist creating it.

You can manually remove the UTF-8 stuff, starting in /usr/share
but as far as I know, there is no way for such an environment to
be created under "normal" conditions. For example, libxml is going
to be able to parse UTF-8 unless you change it and build it from source.

Good luck.

Loading...