![]() |
|
|
|
#1 |
|
I see the list of standard encodings in Python 2.4.1 documentation
section 4.9.2. Is there a method to enumerate the registered codecs at runtime? Paul Watson |
|
|
|
|
#2 |
|
Posts: n/a
|
Paul Watson wrote:
> I see the list of standard encodings in Python 2.4.1 documentation > section 4.9.2. > > Is there a method to enumerate the registered codecs at runtime? This has been asked before, within the last couple of months AFAIR. Use Google to search for codec(s) in this newsgroup in Google groups. Basically the answer was no. What's your use case? John Machin |
|
|
|
#3 |
|
Posts: n/a
|
John Machin wrote:
> Paul Watson wrote: > >> I see the list of standard encodings in Python 2.4.1 documentation >> section 4.9.2. >> >> Is there a method to enumerate the registered codecs at runtime? > > This has been asked before, within the last couple of months AFAIR. Use > Google to search for codec(s) in this newsgroup in Google groups. > > Basically the answer was no. What's your use case? I need to report the encodings supported. When the user does not enter a required encoding or enters an invalid encoding, we need to tell them which encodings are valid and how they are specified. In an embedded environment I would be concerned that some or most might have been left out to save space/size/time. The primary identifier and a descriptive string (localized) need to be available at a minimum. Having aliases would be a plus. Paul Watson |
|
|
|
#4 |
|
Posts: n/a
|
Paul Watson wrote:
> The primary identifier and a descriptive string (localized) need to be > available at a minimum. Having aliases would be a plus. You will have to implement your own list. Getting the well-known aliases is possible through encodings.aliases, but a localized descriptive string was never part of the design - this is something the application will have to provide. Regards, Martin =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| It is an error to use a section registered as allowDefinition='MachineToApplication' | garyong_14300 | Software | 0 | 04-26-2007 02:13 AM |
| Conflicting codecs?? | paulg7083 | DVD Video | 5 | 11-26-2006 08:41 PM |
| Codecs Updates | Bob | DVD Video | 7 | 08-15-2006 08:52 AM |
| Troubleshooting video codecs | Phisherman | DVD Video | 1 | 04-01-2006 06:02 AM |
| Playing DVD's on a PC. What free software / codecs reccomended? | Mike Barnard | DVD Video | 19 | 05-02-2004 04:28 AM |