diff options
author | Rickard Green <[email protected]> | 2013-01-10 12:47:46 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-01-16 17:16:52 +0100 |
commit | 0dd3b88cdf90283d9c276ee415f985cb764e522f (patch) | |
tree | 1584d76d9960339a03c04412ef7919473e7b2efc /erts/emulator/beam/beam_load.c | |
parent | 5d79f55ca441727578d34b78ee0d6d8aa80976ee (diff) | |
download | otp-0dd3b88cdf90283d9c276ee415f985cb764e522f.tar.gz otp-0dd3b88cdf90283d9c276ee415f985cb764e522f.tar.bz2 otp-0dd3b88cdf90283d9c276ee415f985cb764e522f.zip |
UTF-8 support for distribution
Diffstat (limited to 'erts/emulator/beam/beam_load.c')
-rw-r--r-- | erts/emulator/beam/beam_load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c index 7bb964d5aa..8b4135e21d 100644 --- a/erts/emulator/beam/beam_load.c +++ b/erts/emulator/beam/beam_load.c @@ -1230,7 +1230,7 @@ load_atom_table(LoaderState* stp) GetByte(stp, n); GetString(stp, atom, n); - stp->atom[i] = am_atom_put2(atom, n, 1); + stp->atom[i] = erts_atom_put(atom, n, ERTS_ATOM_ENC_LATIN1, 1); } /* @@ -1620,7 +1620,7 @@ read_line_table(LoaderState* stp) GetInt(stp, 2, n); GetString(stp, fname, n); - stp->fname[i] = am_atom_put((char*)fname, n); /*SVERK ? */ + stp->fname[i] = erts_atom_put(fname, n, ERTS_ATOM_ENC_LATIN1, 1); } } |